svelte-forms-lib
svelte-forms-lib copied to clipboard
📝. A lightweight library for managing forms in Svelte
use 2.0.0 in sveltejs/kit and show this: ``` The requested module '/node_modules/dequal/lite/index.mjs?v=edf9391f' does not provide an export named 'dequal' SyntaxError: The requested module '/node_modules/dequal/lite/index.mjs?v=edf9391f' does not provide an export named...
Sometime we populate some partial data in the initialValue option, but we have to trigger the submit in order validate those fields. It could be nice if the library will...
Uncaught DOMException: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string. The Field with type="file"...
### Summary The documentation for custom validation states: "If an empty object is returned the form will be valid and submit" but if the validation function returns `{}` then, after...
**Describe the bug** The documentation website seems to have outdated API information [Observables](https://svelte-forms-lib-sapper-docs.now.sh/observables). **To Reproduce** Steps to reproduce the behavior: 1. Go to https://github.com/tjinauyeung/svelte-forms-lib/blob/master/lib/create-form.js and notice the difference in the...
### Problem to solve In my use case, I have several forms and each form appears if the previous one is valid. I use `handleSubmit`for each form and as it...
### Summary Selects don't properly reflect the current form value, they pick the first ``, rather than the `` that matches the current form value. ### Example Project [CodeSandbox Example...
- [x] add `svelte-checker` - [x] add `svelte-preprocess` - [ ] update components to use TypeScript - [ ] compile Svelte components on publish to prevent users from having to...
I found the high-level overview at https://formik.org/docs/guides/form-submission very helpful. I suggest we come up with a similar page (or just copy theirs :smile:) for https://svelte-forms-lib-sapper-docs.now.sh/. This would be especially helpful...
**Is your feature request related to a problem? Please describe.** Some things can be / are only validated when we submit the completed form to the server. The server may...