Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3587] Android: Setting "Clear on Edit" clears the text when the user completes typing instead of when edit is invoked

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2017-05-01T20:32:32.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, defect, edit, reported-1.7.0, textfield
ReporterNatalie Huynh
AssigneeIngo Muschenetz
Created2011-04-15T03:46:57.000+0000
Updated2017-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)

Comments

  1. Eric Merriman 2011-07-11

    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(); });
  2. Lee Morris 2017-05-01

    Resolving ticket as invalid as this version of Kitchen Sink is no longer supported.

JSON Source