Clear textField Button
In the KitchenSink app, if you go to the Controls tab, then go to Text Field > The Rest and then you click on the text field (give it focus), you'll notice a little "x" image shows up on the right that lets you clear the text field.
I looked all through textfield_therest.js for where this might be instantiated, and I don't see it.
Does anyone know how I can access this feature?
Thanks!
1 Answer
-
clearButtonMode: Titanium.UI.INPUT_BUTTONMODE_ONFOCUS
clearButtonMode: Titanium.UI.INPUT_BUTTONMODE_ALWAYS
etc…
It's all in that file.