Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programmatically populate an ng2-formio #26

Closed
micmanc opened this issue Nov 11, 2016 · 3 comments
Closed

Programmatically populate an ng2-formio #26

micmanc opened this issue Nov 11, 2016 · 3 comments

Comments

@micmanc
Copy link

micmanc commented Nov 11, 2016

Is there a way to programmatically populate with data the input fields of an ng2-formio component?
I included the ng2-formio component in an Angular2 application through the following line:

<formio [form]="form" (render)="onRender()" (submit)="onSubmit($event)" (change)="onChange($event)" >

where form points to the JSON schema of a form built on Form.io.
Thanks

@travist
Copy link
Member

travist commented Nov 11, 2016

Hello @micmanc, we are working on adding that feature soon where you can pass in the submission object much like you can with the Angular 1 renderer.

@travist
Copy link
Member

travist commented Nov 17, 2016

@travist travist closed this as completed Nov 17, 2016
@bittencourtlima
Copy link

Hey @travist, the above examples are not opening, could you pass more examples?
Need to know how do I get my API Rest to call and fill the FormIO components manually using Angular 5 or Angular 2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants