svelteschool / svelte-forms

A simple form component that doesn't care about what you put in it. It just works.
137 stars 5 forks source link

Dirty fields #15

Closed ekafyi closed 3 years ago

ekafyi commented 3 years ago

Can we check whether the inputs have been touched (are "dirty") or do we have to do it outside of the library?

Thanks!

kevmodrome commented 3 years ago

You'll have to do that outside the library. If you have some ideas on how to add that functionality I'm open to PRs! :)

ekafyi commented 3 years ago

Thank you for the answer @kevmodrome.

Was pressed for time so went with a slightly larger lib which already has the functionalities i needed (svelte-use-form). Hope to go back to svelte-forms in the future and maybe propose a PR!