You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have some validation that occurs on the backend after form submit. When this validation fails, we return an error to the front end and let the user correct whatever issues there are and resubmit the form. This is primarily address info that uses multiple fields so doing a-sync validation field by field won't work.
The problem:
After changing values in the form and clicking submit the initial incorrect values are being sent up again. When I look at the contents of the form on submit, I see that all value fields on the form object reflect the updated values (modelValue, lastCommittedViewValue, and rawModelValue). However, when calling .value() on the individual fields, I'm instead getting the old initial values. Is there some way to get the fields model to be consistent with the other model values I'm seeing?
The text was updated successfully, but these errors were encountered:
We have some validation that occurs on the backend after form submit. When this validation fails, we return an error to the front end and let the user correct whatever issues there are and resubmit the form. This is primarily address info that uses multiple fields so doing a-sync validation field by field won't work.
The problem:
After changing values in the form and clicking submit the initial incorrect values are being sent up again. When I look at the contents of the form on submit, I see that all value fields on the form object reflect the updated values (modelValue, lastCommittedViewValue, and rawModelValue). However, when calling .value() on the individual fields, I'm instead getting the old initial values. Is there some way to get the fields model to be consistent with the other model values I'm seeing?
The text was updated successfully, but these errors were encountered: