felte
felte copied to clipboard
isValid store not working
Describe the bug
The isValid attribute is not updating, even though the form is not valid.
Which package/s are you using?
felte (Svelte)
Environment
- OS: Windows 10 Pro (Latest)
- Browser: Microsoft Edge (Latest)
- Version: Latest from NPM
To reproduce
To reproduce, click the Svelte repl I attached and enter a number in the field that is less than 5 or greater than 100 (makes it invalid yet the store remains as true).
Small reproduction example
https://svelte.dev/repl/f7a66becf984441fac082684769475f1?version=3.48.0
Screenshots
No response
Additional context
No response
Would really appreciate your assistance! Thanks in advance! 😊
Hey, sorry for the delay! This is to be expected right now, unfortunately. isValid is tied to the validate function in the configuration (or if you're using a validator). There's a PR open for integrating Felte with the browser's built-in validation but it's currently on draft and I haven't had time to get back to it. 😅
Got it, thank you for your response!