problem
In TiSDK 3.2.0 the
searchableText
property was introduced for Ti.UI.ListItem. This is to work along with the
searchView
.
If I attempt to use the default template using simply the
title
property on ListItems, the
title
is not used by the
searchView
. I instead need to explicitly add
searchableText
with the same value as the
title
. My expectation is that in the absence of
searchableText
it would use the given
title
as the
searchableText
.
example
<ListItem title="my row"/>
<ListItem title="another row" searchableText="another row"/>
If I search for "row" in an attached
searchView
, only the second list item will be listed. I think the expected behavior would be that both would show, using the
title
as the default
searchableText
. It also seems quite redundant to have to list both.
No comments