Replies: 1 comment 2 replies
-
You can use the method to disable HTML validation when submitting forms: Button::make('Delete')
->method('delete')
->novalidate() |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a layout with form. Some fields are required. And I have 2 button in command bar: Save and Delete.
If I press Delete - page says me that I should fill required fields. But why I should, I just want to delete entity.
How can I avoid frontend validation when press delete?
Beta Was this translation helpful? Give feedback.
All reactions