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

[Feature request] dynamic group list #255

Open
danielo515 opened this issue May 12, 2024 · 1 comment
Open

[Feature request] dynamic group list #255

danielo515 opened this issue May 12, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@danielo515
Copy link
Owner

Is your feature request related to a problem? Please describe.

I want to have a group of inputs whose number is variable, adding more or less instances of each group at will.

Describe the solution you'd like

Ideally it should allow to group any of the existing inputs, making it like a dynamic nested form.

Additional context

To give an example usage. Let's say that you have a form to create grocery lists. Each item requires a name and an amount. I want to add as many rows as things I need to buy before submitting.

Not sure if the outcome should be an array of values or prefixed/suffixed fields

@danielo515 danielo515 added the enhancement New feature or request label May 12, 2024
@danielo515 danielo515 self-assigned this May 12, 2024
@Mara-Li
Copy link

Mara-Li commented Jul 2, 2024

Come to here for the same FR!
So I can create preconfigured list usable in template.
I see something like an array of value in form of: {[name: string]: {object}}[].

It will be could if we can "use it in a template", for example: Use it [input1] and do [input2]
When the result is called, simply we could use the {{variable}}, who will paste: the list (as - list) like:

- Use it [value] and do [value]
- Use it [value] and do [value]

ie, some of "form in form"

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

No branches or pull requests

2 participants