MacKentoch / easyFormGenerator

create amazing forms without coding : form editor based on angular formly
http://mackentoch.github.io/easyFormGenerator/
MIT License
253 stars 116 forks source link

Datamodel won't populate #59

Closed vinnybod closed 7 years ago

vinnybod commented 7 years ago

I left a comment here

I have tried it in my own application but also in the example formviewer.html app.

You can test this yourself by doing the following Add demoCtrl.dataModel = testAutoFill(); to the timedModelChanged() method and a new method called testAutoFill()

                function testAutoFill() {
                    var data = angular.fromJson({
                        "richEditor-1441426365355": "\n\t",
                        "input-1441426278314": "fff",
                        "input-1441426295927": "aaa",
                        "input-1441426313388": "df@fgds.com"
                    });
                    return data;
                }