I have a code based form to enter or update records in my Collection.
The database is searched using a unique key, the record fields are then displayed in aTable
and in Text Input records, where they can be edited
I also use + Upload Image button to add/change an Image
Finally I use SAVE (as in Wix Dataset api) to update the Dataset.
Most of the time this works just fine - but occasionally the Save creates a new record so I get two (different) records with the same key.
This failure mostly occurs when I change the Image - only occasionally when changing a Text field.
All comments welcome