Closed bhvngt closed 1 year ago
I am trying to set errors by either calling setErrors or by updating errors store. Both of these approaches are not yielding the expected result.
felte (Svelte)
data
errors
data store correctly prints and displays the updated value. However, errors is not getting updated correctly is instead updating with null value
null
https://svelte.dev/repl/2dca225c01c74410855ed076ac5c4b54?version=3.59.2
I am relatively new to this awesome library. So please let me know in case if I am using it incorrectly. I tried searching the issue list but could not find any particular helpful reference for setErrors
setErrors
Just realised that I need to use setTouched before using setErrors. Thanks once again for the awesome library.
setTouched
Describe the bug
I am trying to set errors by either calling setErrors or by updating errors store. Both of these approaches are not yielding the expected result.
Which package/s are you using?
felte (Svelte)
Environment
To reproduce
data
anderrors
store.data
store correctly prints and displays the updated value. However,errors
is not getting updated correctly is instead updating withnull
valueSmall reproduction example
https://svelte.dev/repl/2dca225c01c74410855ed076ac5c4b54?version=3.59.2
Screenshots
Additional context
I am relatively new to this awesome library. So please let me know in case if I am using it incorrectly. I tried searching the issue list but could not find any particular helpful reference for
setErrors