svelteuidev / svelteui

SvelteUI Monorepo
https://svelteui.dev
MIT License
1.28k stars 64 forks source link

Recommended form validation library #346

Closed notramo closed 1 year ago

notramo commented 1 year ago

What form validation library would you recommend that works well with SvelteUI widgets? I'm not looking for a schema validation library, like Zod, or Yup, but a form validation library, that e.g. tracks input field touched or dirty state (like svelte-forms).

BingeCode commented 1 year ago

Have you tried svelte-forms-lib?

notramo commented 1 year ago

@BingeCode, I'm interested in what are the advantages of using this library with SvelteUI widgets? How does it compare to other libraries in terms of integrating with this project?

BingeCode commented 1 year ago

Svelte-form-libs is a library designed for form management in Svelte applications, offering seamless integration with SvelteUI widgets. It simplifies form management, provides compatibility with Svelte, enables reactive form states, custom validation, and extensibility through plugins. Compare it with other Svelte form libraries like Svelte Forms Lib and Felte based on your project needs. I'm gonna use it in my own project and will report here when I have some experience using it ;)