shouldUpdateState hook
n some cases you might need to postpone state update to some time for example until field is valid. In this case you can do use shouldUpdateState
method
ShouldUpdateStateParams:
form:
FormGroupLike
form that has being syncedstate:
any
- state before updatevalue:
any
- current value
This event will not be triggered if you are updating form state from the code manually
Last updated