F
Filamentβ€’3mo 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) ?
2 Replies
Vp
Vpβ€’3mo ago
No by default, but you can customize and create your own clear action. 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
jlove1672β€’3mo ago
Yeah type search did it for me thank you! πŸ™Œ