svelte-forms-lib icon indicating copy to clipboard operation
svelte-forms-lib copied to clipboard

Add support for Form Arrays for Helper Components

Open letmejustputthishere opened this issue 3 years ago • 0 comments

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 avatar May 05 '22 12:05 letmejustputthishere