Skip to main content
Participant
September 15, 2011
Question

Air Mobile iOs: TextField - Possible to disable 'clear button'?

  • September 15, 2011
  • 1 reply
  • 1648 views

Hi,

I have got a flash.text.TextField in my new iOs application.

As soon as I focus the text field, that iOs typical grey 'clear button' appears to the right of the text field.

Is there any possibility to prevent that button from appearing? I want to use customized clear buttons at that point.

What I've already tried and what did not work:

- Adding a mask to the textfield: The mask works fine for the TextField, but the clear button shows up on top anyway

Thanks.

This topic has been closed for replies.

1 reply

Adobe Employee
September 19, 2011

Unfortunately, no. The textfield that's seen is one rendered by the OS (overlaid on the Flash texfield for editing).

February 25, 2013

I am having the same issue.  Only, I just want to eliminate the X button entirely.

lucifer_niran
Participant
October 14, 2014

try increasing the length of the text field, i.e forcing the clear button out of the view