I have a vertical gallery with these properties:
I have a 2 x text fields (modern controls) and a checkbox in each row. I want to be able to add a row by either:
- clicking the + Add buttonand it adds to the collection (and gallery)
- or clicking the save Button on each row and it adds to the collection (and gallery).
This is adding a row but the problem is that it's keeping the values in the text field and not clearing them.
I will share the properties of all buttons:
+ Button:
The save button on each row:
Ultimately I want to be able to submit this collection as JSON to a multiline column in SP so that's why there is no connection to SP involved (and I don't need there to be until I submit).
Can you see what I'm doing wrong here.
I've done this x100 odd times in the past but a bad nights sleep is contributing.