F
Filamentβ€’7mo ago
jlove1672

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:
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 πŸ˜†
Jump to solution
5 Replies
Vp
Vpβ€’7mo ago
No by default, but you can customize and create your own clear action.
Solution
Vp
Vpβ€’7mo ago
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 πŸ˜†
jlove1672
jlove1672OPβ€’7mo ago
Yeah type search did it for me thank you! πŸ™Œ
Luiz
Luizβ€’4mo ago
and I need the opposite, I need to remove the X to avoid clearing the select when it is searchable. Any ideas?
Dennis Koch
Dennis Kochβ€’4mo ago
->nullable(false)?
Want results from more Discord servers?
Add your server