Can't update multi reference table values

V4.7.3 - Nodejs - Postgresql - Macos

Hi!

I’m trying to update a table’s multi reference values, but values are not saving.
The form doesn’t return an error on submit so don’t understand what the problem is.

I’m using the exact same method for the update as I did for creating the initial values, which doesn’t have any problems.

Don’t know if it’s a bug or something that I do wrong

For creating the values I did this (which works)

Screenshot 2022-04-13 at 09.15.14

Which works:

Same exact method with update (Doesn’t work)

Which doesn’t work. Form submits successfully but users or products multi references are not updated. (other normal fields are updated fine):

Can’t select multi references of sub-tables in database delete & insert, otherwise I’d do this update “manually” by deleting and inserting again

Maybe related to my findings here where the fetch data isn’t working without a incremental id field on multi references in sub tables

No… unfortunately not. I already had incremental id fields in the two multi references in the sub tables. Thanks for the suggestion though!

The update does almost the same as the insert, for the update it first deletes the old values and then inserts them all again.

Do you get some error in the server connect action? Please check in the devtools what is being returned from the server.

There wasn’t any error in dev tools. I used the exact same method as in the insert action, it was just returning “success” without updating.