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
The created model or the one passed in never gets updated.
If I pass in a model with X number of attributes, but only have one field exposed in the form, serializeFormData only reports one field. While that is probably ok for the name of the method, there's no baked-in way for one to merge the form data with the original model.
Whether or not there should be a method is probably worth discussing. I could easily do:
this.model.set(this.serializeFormData());
In onSubmit or on blurs/other events, but it seems like something that should be available in the FormView.
The text was updated successfully, but these errors were encountered:
The created model or the one passed in never gets updated.
If I pass in a model with X number of attributes, but only have one field exposed in the form, serializeFormData only reports one field. While that is probably ok for the name of the method, there's no baked-in way for one to merge the form data with the original model.
Whether or not there should be a method is probably worth discussing. I could easily do:
In
onSubmit
or on blurs/other events, but it seems like something that should be available in the FormView.The text was updated successfully, but these errors were encountered: