How do I reload a repeater item after one of its fields have been updated?
I have a repeater in my form to add questionnaires to an event. Newly added items don't get persisted until one of the fields in the row is updated.
Upon update, a round trip is made to the api of the remote data store and the record is created, and returned. This in turn is then added to the local database, and is working as expected.
My problem is now injecting the record ID (and any other properties that might have come back from the api request) into the repeater item. Should I be reloading the relationship manually or refreshing the component? Or is this a sign that my model isn't correctly bound to the component?
Code to follow...
1 Reply