How can I use index while iterating over JSONArray in handlebar?
问题 I am trying to show the details of the adultJsonArr in different and I want to get it saved on action without going into writing lengthy code. I'm not getting idea of how to use the index while iterating, I tried as mentioned in line no 5 but didn't work( @index also couldn't do job for me). Any suggestion on how to save the changes made to the input in the adultJsonArr 1.<form> 2. {{#each adultJsonArr as |adultTravellerDetails index|}} 3. <div id="adult_form{{index}}"> 4. Adult{{index}}: 5.