Send default value along with form instead of empty string
I have a form that users should use to update their profile. The problem is when the user wants to change any field, it will only send the field that he changed, sending the rest as blank strings (see ss). The form uses a default value of the db entry. It appears fine on the frontend but i dont understand why it only picks the fields that i changed. I suspect it has something to do with react-form-hook only registering the changed components. I tried adding a default value to the react-form-hook but it didn't help.
1 Reply
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View