I am trying to set a temporary state value to the currently selected i value.
Is currentViewIndex supposed to return the current i value?
I am trying to set a temporary state value to the currently selected i value.
Is currentViewIndex supposed to return the current i value?
Got it to work using a combo of the suggestion here.
I set a hidden text input default value I wanted to {{ GetManualReviews.data.ident[i] }}
Then in my event handler I set the temporary state to the text input, then in my API query I am using the temporary state directly instead of trying to get the index from temporary state and setting value in query with {{ GetManualReviews.data.ident[temporaryIndex.value] }}