[TIMOB-3587] Android: Setting "Clear on Edit" clears the text when the user completes typing instead of when edit is invoked
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-05-01T20:32:32.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | android, defect, edit, reported-1.7.0, textfield |
Reporter | Natalie Huynh |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:46:57.000+0000 |
Updated | 2017-05-02T21:36:54.000+0000 |
Description
Steps to Reproduce:
1. Launch KitchenSink
2. Run Controls > TextField > The Rest
3. Type something into the text field
4. Click on "Clear on Edit"
5. Click into the text field
Actual Result:
Text is not cleared, gets cleared when you hit done
Expected Result:
Clear the text when edit is invoked
Tested on:
Nexus S 2.3.2 Titanium SDK version: 1.7.0 (Apr 12 2011 15:24
rcc9dd9e1)
In other testing, I noticed that when commenting out the following code, the text remained in the field. clearOnEdit still didn't clear the text on focus in my case, but at least what was typed remains in the field: tf1.addEventListener('return', function() { tf1.blur(); });
Resolving ticket as invalid as this version of Kitchen Sink is no longer supported.