Eliminating "delete" button in TextInput field on moble
As you know, in mobile theme, TextInput uses StyleableStageText which is on the stage. On iOS, this field, once it contains a character will display a "delete" icon in gray in the right side of the field. If you tap it, the contents of the input field will be removed.
Is there a way to eliminate this button? Seems weird to want this gone, but it's complicated as I'm creating a right-to-left numeric currency entry field (like at ATMs) and the delete icon is in the way and not needed.
I've read all the code in the Skin hierarchy of classes used by TextInput on mobile theme: StageTextInputSkin, StageTextSkinBase, MobileSkin and the delete icon does not appear to be a skin part at all. Nothing in spark.components.TextInput, SkinnableTextBase, SkinnableComponent, or StyleableStageText contain any logic or properties relating to this delete icon.
Anyone know of a way I can eliminate this delete icon?
Re: Eliminating "delete" button in TextInput field on moble
Using TextArea works as a replacement. With a little styling and configuration I was able to make it do what I needed, and it doesn't automatically show the "delete" icon when there is content and it has input focus.
We are using Flex 4.7.1 but with the latest AIR. And we definatly had the
circle with cross initially, then amended something to give the code above
that removed it.... Like I say - this is going back 2 years now....