We encountered problems when using the dialog. The dialog was closed automatically, also we couldn't bind a show boolean value we control in our component. This PR fixes both issues, the former with wire:ignore.self, the latter with correct x-data usage throughout the dialog component.
wire:ignore.self because showModal adds an open attribute, which is removed during a Livewire update.
We encountered problems when using the dialog. The dialog was closed automatically, also we couldn't bind a show boolean value we control in our component. This PR fixes both issues, the former with
wire:ignore.self
, the latter with correctx-data
usage throughout the dialog component.wire:ignore.self
becauseshowModal
adds anopen
attribute, which is removed during a Livewire update.