How to reset form fields inside the afterStateUpdated ? #12863
-
PackagePanel builder Package Versionv3.2 How can we help you?I have 2 radio buttons and have different kind of fields for each of them but some of it are the same. I notice that everytime i switch either one of it, some field that already been filled are not reset. I read the docs and found the reset method |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
? |
Beta Was this translation helpful? Give feedback.
afterStateUpdated(function($livewire){ $livewire->form->fill();})
?