How to apply <novalidate> to Action Modals
Sometimes I prefer to use the backend validations rather than the browser validations. Any idea idea how to insert
novalidate
to the <form>
from Action modals?5 Replies
what browser validations?
The default validation you get when you add
required
etc attributes to your inputs.yes, but we have more than required I guess
instead of
->required()
we can use ->rules(['required'])
... this is why I'm askingOnly way to do this currently using novalidate on the form would be with JS
yes, I tried the js way:
but everytime i click the action button, the attributes gone.