Required fields validation on submit inside modal
Hello, I have a table inside a full page livewire component. The table has some actions that open up a couple modals, and inside the modal I have a a form with several fields marked as required. Is there anything specific that needs to be done to make sure those fields are filled out other than marking them as
->required
? I am asking because they do not get validated when I submit the modal form, so I could either be missing something or something else is going on. They do get marked with the red asterisks but that is it, no validation on submission.
I have read the sections about Actions, advanced forms, validation, and probably anything else I can think of, and nothing is specifically mentioned, which leads me to believe ->required
is all that is needed.0 Replies