Closed simplenotezy closed 4 years ago
Couldn't you just do return this.originalData;
Instead of looping through and assign fields to a new object?
https://github.com/laracasts/Vue-Forms/blob/9ccf969dfda9ca6dcc1026699315188e651bafb8/public/js/app.js#L88
No you cant, otherwise fields will be empty.
Couldn't you just do return this.originalData;
Instead of looping through and assign fields to a new object?
https://github.com/laracasts/Vue-Forms/blob/9ccf969dfda9ca6dcc1026699315188e651bafb8/public/js/app.js#L88