Is it possible to use a repeater to manage a data collection? I created a repeater with user inputs, corresponding to managed fields, and set it connected to a read-write datasource. I also added a 'delete' button to a repeater item and set it to a dataset function delete. I linked a dataset 'save' function to every user input .onKeypress() event in case of text input or .onChange() event in case of a dropdown. I added a separate 'New' button outside the repeater to create a new row.
— The repeater reflects all the data
— The delete buttons work for every row
What's not working:
— On 'New' button press the repeater refreshes the list and show the new empty row, however, the row is being added in a random order
— Data is being updated every second time. I tried to create an additional 'submit' button, with the same result.
Is it a bug, or I shouldn't use the repeater this way? Thanks.