[TIMOB-23187] Windows: Implementation of search functionality using searchText property in listview
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-07-01T17:11:32.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.4.0 |
Components | Windows |
Labels | qe-5.4.0 |
Reporter | Rakhi Mitro |
Assignee | Kota Iguchi |
Created | 2016-04-11T09:42:36.000+0000 |
Updated | 2016-07-01T17:11:42.000+0000 |
Description
list view search is not working correctly.Using the *searchableText* property on a listitem and the *searchText* property on the listview through text entered in a text field: the text "Search Results" appears with no search results below, even though the entered text should match with some list items. Are there any plans to return this functionality to the searchText property of the listview in upcoming releases?
https://github.com/appcelerator/titanium_mobile_windows/pull/644
Tested with the demo code provided in the PR. searchText does not provide results, only in the case that I enter "A", otherwise no results are shown. Attempted both with
ListView.caseInsensitiveSearch
set to true / false. Tested on: Windows 10 Pro Windows Phone 10.0 (Microsoft Lumia 640 LTE) Appc Studio: 4.7.0.201606220541 Ti SDK: 5.4.0.v20160630074247 Appc NPM: 4.2.7-2 Appc Core: 5.4.0-23 Node: v4.4.4 *Reopening Ticket.*I could not reproduce the issue on 5.4.0.v20160630074247. [~htbryant] Could you try following code? I want to narrow it down to see if it's general issue or UI event / IME related issue or some kind.
[~kota] Tested the code you provided and it works correctly, repeated the test case manually with the test code in the PR and it works correctly too. I was testing for exact string matches, which I had misinterpreted. Tested on: Windows 10 Pro Windows Phone 10.0 (Microsoft Lumia 640 LTE) Appc Studio: 4.7.0.201606220541 Ti SDK: 5.4.0.v20160630074247 Appc NPM: 4.2.7-2 Appc Core: 5.4.0-23 Node: v4.4.4 *Closing Ticket.*