"clearButtonMode" Doesn't Work. At all. Ever.
I can make my textFields do all kinds of things, but I can't ever get the clear button to show up. Here's my simplified code.
var myField = Ti.UI.createTextField({
clearButtonMode:Ti.UI.INPUT_BUTTONMODE_ONFOCUS
});
win.add(myField);
I'm using SDK 4.0 and Titanium 1.3.2.
Anyone else having trouble with clearButtonMode?
1 Answer
-
Found it! It's so fun to answer my own questions on this forum.
Turns out that if you use any right padding on your input field, it will push the clear button off so it's not visible.