angular-form-builder
angular-form-builder copied to clipboard
Form builder not working when data comes from remote
I have been using form builder and it was working fine until there comes a case, Where admin creates dynamic forms and they get stored in mongoDB.
Thereafter when user logs in we need to show those forms to user by fetching the fields from DB.
But when I fetch fields from db and calling the api named $builder.addFormObject
, it is not updating view on the ui and nor it is inserting the field in the form.
I am also able to reproduce the issue and created a simple plunkr describing the same. Here is the url for that: https://plnkr.co/edit/0gzxKr7amvaOGhuwiV0M?p=preview
Can you please try to resolve the issue if possible?
Thanks