Replies: 4 comments 1 reply
|
I had the same issue. |
0 replies
|
php artisan vendor:publish --tag=livewire-ui-modal-config in any js file: |
1 reply
|
I am also facing same issue. Kindly help. |
0 replies
|
Ran into this today. I solved by setting init() {
setTimeout( () => {
this.modalWidth = this.getActiveComponentModalAttribute('maxWidthClass');
Livewire.on('closeModal', (force = false, skipPreviousModals = 0, destroySkipped = false) => {
this.closeModal(force, skipPreviousModals, destroySkipped);
});
Livewire.on('activeModalComponentChanged', (id) => {
this.setActiveModalComponent(id);
});
}, 0);
} |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This package doesn't work with turbolinks enabled because I keep getting
Uncaught TypeError: Livewire.on is not a function. I tried out a similar package https://github.com/lao9s/livewire-modal-twitter, and it works fine with turbolinks. Any fix?All reactions