[TIMOB-16432] ListView: Missing bindId in itemclick event with active search
GitHub Issue | n/a |
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-02-26T23:37:39.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | Release 5.4.0 |
Components | iOS |
Labels | qe-5.4.0 |
Reporter | Michael Descher |
Assignee | Hans Knöchel |
Created | 2014-02-09T18:49:48.000+0000 |
Updated | 2016-07-08T18:16:45.000+0000 |
Description
The itemclick event contains the bindId of the element the click was on (if any). When the ListView has a search bar and something is entered in the search filed, i.e. when the ListView items are filtered, the bindId is missing in the event, even if over an element.
The attached JS contains a small app to reproduce the problem. Clicking on the text shows the "txt" bindId in the alert box. When a filter text is entered in the search field, the bindId is always "undefined".
Attachments
Moving this ticket to engineering as I can reproduce the issue with the provided test case. itemclick event contains bindId when clicking on a row without using the search bar but bindid is undefined if a row is clicked from the result set of a search.
This issue exist with 3.2.0 and 3.4.0 iOS 7.1 iOS 7.0 TiSDK 3.4.0 Appcelerator Studio, build: 3.3.0.201407111535 Titanium Command-Line Interface, CLI version 3.3.0,
Any progress? Need bindId in search results urgently. Thx.
This issue exist with 3.5.0.GA iOS 8.1
Still exist with 5.1.2.GA. Any progress?
PR: https://github.com/appcelerator/titanium_mobile/pull/7647
Worked on it with [~bduyng@gmail.com], we found a good solution for the problem. PR approved!
Verified as fixed. Tested on: iPhone 6 (9.3.1) iOS Simulator (9.3) Mac OSX El Capitan 10.11.5 Studio: 4.7.0.201607070843 Ti SDK: 5.4.0.v20160705213725 Appc NPM: 4.2.8-1 Appc CLI: 5.4.0-29 Xcode 7.3.1 Node v4.4.4 * Closing Ticket*