Disable submit button in a Wizard depend on "accept" checkbox
Hello there
Some help is needed here.
I have a livewire component using Form package. There is a wizard in the form and I need that a checkbox must be checked before the form is submitted.
I am using ->submitAction() but I don't Know how disable the button until the check box is checked.
I will appreciate community help
Thanks in advance

4 Replies
Any help .. will be appreciated... 😀 🥺
Solution
Maybe in the form you can use a Checkbox?
from https://filamentphp.com/docs/3.x/forms/fields/checkbox#accepted-validation
O i saw, ->accepted() also works on a toggle!
Thanks! Silly me !
I was focus on disable the button. And the solution was as simple as that
Thank you again