Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14845] Android: Search by ID - ID number does not remain in the text field after "done" key pressed on the keyboard

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2013-11-02T16:23:49.000+0000
Affected Version/sRelease 3.1.2
Fix Version/sRelease 3.3.0
ComponentsAndroid, iOS
Labelsparity, qe-3.1.2
ReporterOlga Romero
AssigneeSunila
Created2013-08-12T23:23:27.000+0000
Updated2015-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)

Comments

  1. Sunila 2013-11-02

    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.
  2. Olga Romero 2014-06-19

    closing as invalid.

JSON Source