So I implemented the angular-form-builder like a CRUD, to save and edit forms.
The question is when i go to "builder screen", and save or cancel data and back to this screen, the components are still here, so i made a change on removeFormObject method, to something like this:
Hello,
So I implemented the angular-form-builder like a CRUD, to save and edit forms.
The question is when i go to "builder screen", and save or cancel data and back to this screen, the components are still here, so i made a change on removeFormObject method, to something like this:
Removing all components with this code: $builder.removeFormObject(formName, 0, 'ERASE_FORM');
I know this code is very ugly, but when i come back to screen and create a new form, when i drag a component to builder, it simply disappears.
Do you guys have a sample or something to help me or some workaround?
Thanks for any help or suggestion.
Att,