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

Add support for Form Arrays for Helper Components #163

Open
letmejustputthishere opened this issue May 5, 2022 · 0 comments
Open

Add support for Form Arrays for Helper Components #163

letmejustputthishere opened this issue May 5, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@letmejustputthishere
Copy link

Right now you can't pass a name to a Form component that references a element in an array, like

            <Field
              type="text"
              class="flex-1 bg-white dark:bg-black"
              placeholder="an option people can vote on"
              name={`options[${index}]`}
            />

Please support this.

Problem to solve

Allow usage of Helper components in Form arrays.

Intended users

Developers need this to quickly build forms.

User experience goal

Makes it even faster to use svelte-forms-lib

Proposal

Further details

Documentation

Links / references

@letmejustputthishere letmejustputthishere added the enhancement New feature or request label May 5, 2022
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

1 participant