Merge event handler when providing multiple targets for x-bind #3884
simonferndriger
started this conversation in
3. Feature Ideas
Replies: 2 comments 8 replies
-
|
Unfortunately, you can't have 2 HTML attributes with the exact same name. It's a browser thing, not Alpine. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Ah OK, well, how about |
Beta Was this translation helpful? Give feedback.
8 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.
-
If it does not mean a huge overhead, it would be nice to allow multiple
x-bind. Use case is especially for buttons, where you want to bind multiple functionalities to it. For example:<button x-bind="$accordionButton" x-bind="$loadInfoAboutSomething">.Beta Was this translation helpful? Give feedback.
All reactions