Livewire component that provides you with a modal that supports multiple child modals while maintaining state.
Full Changelog: https://github.com/wire-elements/modal/compare/1.0.7...1.0.8
Full Changelog: https://github.com/wire-elements/modal/compare/1.0.6...1.0.7
Full Changelog: https://github.com/wire-elements/modal/compare/1.0.5...1.0.6
If you published modal.blade.php
you will need to replace x-on:close.stop="show = false"
with x-on:close.stop="setShowPropertyTo(false)"
(see diff)
Full Changelog: https://github.com/wire-elements/modal/compare/1.0.4...1.0.5
Full Changelog: https://github.com/wire-elements/modal/compare/1.0.3...1.0.4
Full Changelog: https://github.com/wire-elements/modal/compare/1.0.2...1.0.3
Breaking changes to take into account:
@livewireUIScripts
has been removed.Any required Javascript will be loaded inline. If you want to include the Javascript in your bundler like Webpack you can use the config to disable Javascript and require the necessary Javascript require('vendor/livewire-ui/modal/resources/js/modal');
livewire-ui-modal
If you published the modal view make sure to make the required changes.
The setActiveModalComponent is sometimes called multiple times resulting in issues with the component history log and could result in errors. This release prevents an already active modal component to be set active (while it is already active).