More components with javascript hooks/events #1787
Unanswered
mauritskorse
asked this question in
Feature Requests
Replies: 2 comments
-
|
In the mean time I have created some $js actions for tabs, see #1966 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Updated the request with a before close/dismiss event on models . Would be useful to prevent a modal from being closed while a form hasn't been saved. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Some components already provide a way to interact with them through javascript. Especially for more optimistic ui's it would be great if more components would provide this as well as dispatching events. Most of the times Alpine can come to the rescue. But unfortunately this is not always possible due to attributes not (properly) being forwarded to the rendered html.
For example:
Before close would be useful to prevent dismissing while a form is dirty
Beta Was this translation helpful? Give feedback.
All reactions