tjinauyeung / svelte-forms-lib

📝. A lightweight library for managing forms in Svelte
https://svelte-forms-lib-sapper-docs.now.sh/
MIT License
603 stars 59 forks source link

Adding useField() functionality #182

Open ghacosta opened 1 year ago

ghacosta commented 1 year ago

Problem to solve

sometimes for custom inputs the <Field/> helper component is not enough and to decrease the boilerplate we could use useField() function on the custom component to build our own custom input primitives.

Links / references

Formik's useField()

I'll be glad to help to build this functionality, but do you any idea how to start this feature? or if it's feasible or not?

JoshAwaze commented 1 year ago

Any update on this?