[TIMOB-14845] Android: Search by ID - ID number does not remain in the text field after "done" key pressed on the keyboard
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-11-02T16:23:49.000+0000 |
Affected Version/s | Release 3.1.2 |
Fix Version/s | Release 3.3.0 |
Components | Android, iOS |
Labels | parity, qe-3.1.2 |
Reporter | Olga Romero |
Assignee | Sunila |
Created | 2013-08-12T23:23:27.000+0000 |
Updated | 2015-02-02T20:47:17.000+0000 |
Description
This is not a regression.
When trying to finish typing an ID number by clicking "done" on the keyboard, the text field does not save the number.
Steps to Reproduce:
1. KitchenSink: Phone: Contacts: Search by ID.
2. Enter any number in 'RecordID Number', then press the key "done" on the keyboard instead button 'Find Record by ID'.
Note: We can type the number and press the button 'Find Record by ID', and search will be complete.
Actual Result:
Clear text field.
Expected Result:
Number should stay in the text field, so "Find Record by ID" could be pressed. (like with iOS)
In Android, button doesn't take focus in touch mode and the code tf1.blur in 'return' handler will set the focus to the next focusable control which is the same textfield itself. Since 'clearOnEdit' is set to true, this clear the text. I think the right implementation should be to execute the same search code that is executed when button is clicked in the 'return' handler also.
closing as invalid.