Declarative forms for Svelte
Declarative forms for Svelte.
Input, Select, Choice components to reduce boilerplate$ npm i sveltejs-formsor
$ yarn add sveltejs-formsInput, Select, Choice helper components
Reset
Sign in
setValue('food', detail.value)}"
on:clear="{() => setValue('food', '')}"
selectedValue="{items.find(item => item.value === values['food'])}"/>
Submit
| Name | Type |
|---|---|
| isSubmitting | boolean |
| isValid | boolean |
| setValue(path, value) | function |
| touchField(path) | function |
| validate() | function |
| values | object |
| errors | object |
| touched | object |
All contributions are welcome.
No open issues yet, or sync has not completed.