You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Laravel application with Livewire and a modal created via Livewire, when I try to use a Preline component requiring javascript for example select, the component does not load.
Do you have any idea how to integrate it?
Demo Link
Expected Behavior
No response
Actual Behavior
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered:
Without a demo link it is pretty hard to diagnose. Are you initializing your select list, either via window.HSStaticMethods.autoInit() or manually via HSSelect's constructor? Can you ensure that the DOM element is on the page at the time of initialization? If you are conditionally rendering stuff in the DOM, you will need to make sure you re-initialize your Preline components too.
Summary
JS Component not work on modal
Steps to Reproduce
Hi,
I have a Laravel application with Livewire and a modal created via Livewire, when I try to use a Preline component requiring javascript for example select, the component does not load.
Do you have any idea how to integrate it?
Demo Link
Expected Behavior
No response
Actual Behavior
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: