You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to do save to db on each form value change but that's not possible because onValuesChange is not invoked when some field reset another field (Example: when field A is updated we reset field B).
Thanks in advance!
The text was updated successfully, but these errors were encountered:
It is stated in the document https://github.com/react-component/field-form?tab=readme-ov-file#8-setfields-not-trigger-onfieldschange-and-setfieldsvalue-not-trigger-onvalueschange that it doesn't work by design.
Question is what are the options to do that using the current API? What are the best practices.
We need to do save to db on each form value change but that's not possible because onValuesChange is not invoked when some field reset another field (Example: when field A is updated we reset field B).
Thanks in advance!
The text was updated successfully, but these errors were encountered: