Replies: 1 comment 1 reply
-
If I understood correctly,
|
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hello Everyone,
I am trying to use AlpineJS in one of my new projects whereas we have a loop that is creating multiple text inputs and I am using x-bind:name to provide the name to input but I need it in Array which I am not able to figure out.
I tried various methods but it isnt helping me out so thought to reach out to the community for help. Your help is highly appreciated.
<input type="number" x-model="field.impValue[colField.title].value" x-bind:name="colField.title + []" x-text="colField.title" min="0" max="5" placeholder="Input number between 0-5">
Beta Was this translation helpful? Give feedback.
All reactions