Hi, I'm hitting an issue with number fields in list views that I think may be a bug. In summary if a number field in a list view has an on change event to update a state value with the entire list view data object, it only updates correcly if the user presses enter after changing the number field. If the user clicks outside the box, presses tab or escape, then the UI updates but the state fails to update, instead it uses the old value.
Screenshots to show test:
State and list view:
number field on change event to set state1 to listView1.data
I update 111 to 999 in the first row and press escape, notice that the state doesn't update even though UI does
I then update the second row to 555, the state for the first row now update to 999 but remains 222 for the 2nd row
To check the normal behaviour and for sanity, I then try something similar on a number field outside of a list view. This time on change the self.value of the field is stored to state2
If I change the value to 888 and press escape to leave the field, the state updates as expected.
In the list view example, when the number field changes, is there a delay in listView1.data being updated and therefore stale data is stored in the state?