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

New Example: Add repeatable groups based on default model #50

Open
jonathandick opened this issue Jul 4, 2015 · 1 comment
Open

New Example: Add repeatable groups based on default model #50

jonathandick opened this issue Jul 4, 2015 · 1 comment

Comments

@jonathandick
Copy link

I would like an example that demonstrates:

Say we have a repeating group such that the resultant data produced by the form now has N more elements than the original model for the form. How do you (at runtime) take a model with multiple default values for a form that only has one place for them and create the additional (repeating) fields in the form?

Thanks,

Jonathan

@kentcdodds
Copy link
Member

I'm not sure I follow what your asking about, but does this help?
http://angular-formly.com/#/example/advanced/repeating-section

  • Kent C. Dodds

(Sent from my mobile device, please forgive typos or brevity)
On Jul 4, 2015 1:15 AM, "jonathandick" notifications@github.com wrote:

I would like an example that demonstrates:

Say we have a repeating group such that the resultant data produced by the
form now has N more elements than the original model for the form. How do
you (at runtime) take a model with multiple default values for a form that
only has one place for them and create the additional (repeating) fields in
the form?

Thanks,

Jonathan


Reply to this email directly or view it on GitHub
#50.

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

2 participants