Do text inputs have a clear input option
Do form text inputs have a clear input feature (like an x at the end of the input to clear the field) ?
Solution:Jump to solution
Or you can change type like this
->type('search')
then close button will show.. But I don't know whether this one will bring error or not π5 Replies
No by default, but you can customize and create your own clear action.
Solution
Or you can change type like this
->type('search')
then close button will show.. But I don't know whether this one will bring error or not πYeah type search did it for me thank you! π
and I need the opposite, I need to remove the X to avoid clearing the select when it is searchable. Any ideas?
->nullable(false)
?