Replies: 2 comments 1 reply
-
|
Why are you trying to open a modal server-side rather than client-side? What's the logic |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
You need to dispatch the event to the main wire elements modal component, along with the path to your modal component, and any parameters etc |
Beta Was this translation helpful? Give feedback.
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.
-
Hi there,
i planned to imploment spotlight to my project all day today, and in the process of implomenting i noticed an issue, it could be from my side, or the package side, as there is no error messages in the console. "Its clearer than my life xD"
however, i was trying to open a modal "Livewire-modal-element" using the following:
but nothing get open or closed, but when i use the old school method using a button that has a $dispatch, it wors just fine.
any idea in how to fix it?
Additional, here is my modal component
Beta Was this translation helpful? Give feedback.
All reactions