Skip to content

Add support for generating factories #29

@repolevedavaj

Description

@repolevedavaj

Instead of just having one instance of a FormGroup, I would like to have a factory to create as much instances as required.

Activity

martinmcwhorter

martinmcwhorter commented on Jun 1, 2022

@martinmcwhorter
Contributor

What are the usecases for this?

I am open to a PR that adds this as command line option.

repolevedavaj

repolevedavaj commented on Jun 1, 2022

@repolevedavaj
Author

What are the usecases for this?

I am open to a PR that adds this as command line option.

We have some forms, in which the user can add elements, therefore we create multiple instances of a form group.
Regarding the PR: We are currently working on a custom solution matching our needs, but if we have something generic enough, we gladly share it. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @martinmcwhorter@repolevedavaj

        Issue actions

          Add support for generating factories · Issue #29 · verizonconnect/ngx-form-generator