svelte-forms-lib
svelte-forms-lib copied to clipboard
Add support for Form Arrays for Helper Components
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