Issue when setFieldsValues is called on mount
ivan-dalmet opened this issue · 1 comments
ivan-dalmet commented
Describe the bug
The setFieldsValues
have issues when called on mount.
See #77 (reply in thread)
To Reproduce
Steps to reproduce the behavior:
- Go to https://codesandbox.io/s/fancy-cherry-ip1cr?file=/src/useDependentField.js
- Change the
100
to0
in thesetTimeout
(or remove thesetTimeout
) - The fields on the first step are not required anymore
Expected behavior
The fields should still be required even with setFieldsValues
called on mount.
ivan-dalmet commented
Fixed in @formiz/core@1.8.0