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
I am currently working on a project and I am not able to reset my form. The model is set to {} but the data is still visible while in Vue inspector there is no data in the component.
I tried multiple way to clear like for (var prop in obj) { if (obj.hasOwnProperty(prop)) { delete obj[prop]; } }
I also tried to simply reset my like this: model = {};
Here is a screenshot of my current data not resetting while VueJS inspector doesn't have any data from model.
Here is a screenshot from console.log I did before and after my reset
And Here is a capture with VueJs value from vjsf at blank but my data still on my screen
Edit: There is only 1 field on my screen with the data not appearing, others still not reset.
Thanks for the help,
Valentin
The text was updated successfully, but these errors were encountered:
Hi,
I am currently working on a project and I am not able to reset my form. The model is set to {} but the data is still visible while in Vue inspector there is no data in the component.
I tried multiple way to clear like
for (var prop in obj) { if (obj.hasOwnProperty(prop)) { delete obj[prop]; } }
I also tried to simply reset my like this: model = {};
Here is a screenshot of my current data not resetting while VueJS inspector doesn't have any data from model.
Here is a screenshot from console.log I did before and after my reset
And Here is a capture with VueJs value from vjsf at blank but my data still on my screen
Edit: There is only 1 field on my screen with the data not appearing, others still not reset.
Thanks for the help,
Valentin
The text was updated successfully, but these errors were encountered: