Open
Description
Summary
The isValid
store is always true
initially.
This is unintended and it seems like this has not always been the case, since the example at https://svelte-forms-lib-sapper-docs-tjin.vercel.app/observables is working like intended (it is using an old version of this lib).
Steps to reproduce
Trivial, see example project.
Example Project
https://codesandbox.io/s/naughty-lichterman-m5jw7?file=/App.svelte
Thus button only gets disabled after you fill out the first field. It should be disabled initially.
What is the current bug behavior?
The isValid
field is always true
initially.
What is the expected correct behavior?
The isValid
field should only be true
initially if the initial values are valid.