Can the input type ‘search’ be added to the list of options for the TextBox config?
This allows browsers to render an “x” clear icon automatically for that field - it would really help mobile users that need to clear the long text quickly inside a text box.
Since this type=‘search’ behaves just like type=‘text’, no additional work would be needed.
I just tried both suggestions - self.text_box.type=“search” does not generate an error, but the source of the page still shows type=“text”. If you use the other suggestion to go through js - the type changes to “search”. However, the “x” does not appear in the field. Probably styling? - will need to test this further.