David CarrforDC Blogdcblogdev.hashnode.netยทMay 24, 2022Livewire clear modal on closeWhen you have a model that's been partially filled and a modal is closed using Alpine ie: <button type="button" @click="on = false">Close</button> The modal will close, but anything inputted into a form inside the modal will remain. To clear the for...245 readsLaravel LivewireLaravel-livewireAdd a thoughtful commentNo comments yetBe the first to start the conversation.