F
Filament4mo ago
gg

Validation Message Remove in Prefill data

Hello everyone, How can I remove validation message when user refill this field? for example, validation message show when user is not fill input 'name' and after that user type in this field. how can I remove validation error message in this case?
5 Replies
Dennis Koch
Dennis Koch4mo ago
The validation messages will be removed when the user submits the form again. If you want a different behaviour you'd need to add some JS or Alpine to hide the message when the field changes.
gg
ggOP4mo ago
the validation messages not removed when ther user resubmit form. in this attach image, even after user type text, validation message not removed.
No description
Dennis Koch
Dennis Koch4mo ago
After "typing" or "submitting"? Submitting => Pressing the "Save" or "Create" button
gg
ggOP4mo ago
After "typing"
Dennis Koch
Dennis Koch4mo ago
Yeah. That's the expected behaviour and exactly what I wrote above.

Did you find this page helpful?