Replies: 2 comments 2 replies
-
For what purpose? Can the elements not be in the same tree with the data? There are ways, but this is more likely to be an indication of poor component design. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The goal is to gather form data and send it via ajax. No, they can't be in the same tree. |
Beta Was this translation helpful? Give feedback.
2 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.
-
AlpineJS noob here: I have an x-data object on a div element. In an adjacent button I want to access that data in an onclick event.
Roughly:
How can I access the x-data object from within the submitHandler function?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions