Nested Actions, Parent Form validation
Hi guys
i have this scenario
parent modal has form and submit is through custom action button which opens another modal, the parent form must be validated before moving to the child modal
any help would appreciated, thanks
4 Replies
If you call the getState on the parent form, it should trigger the validation naturally. so maybe $livewire->form()->getState() or similar.
thank you, i already tried this solution, but i ended up building modals with livewire components
@toeknee
is there a way to make a field hidden and alse send his value to the submit ?
it's wizard step, mutating won't work
Is it a Hidden::make() field or is it ->hidden(true) ?
i can use Hidden or Select, but i prefer using Select