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
kettanaito
changed the title
Patched value updates of controlled field result into obsolete state
Patched values update of controlled fields result into obsolete state
Oct 9, 2018
This should be partially solved by #352 (introducing of patched state updates). Concurrency on a field level will be eliminated, yet the buggy dispatch nature of controlled fields onChange handler will remain due to being invoked in componentWillReceveiProps.
Environment
Prerequisites
Setup a simple form where all fields are controlled. Create a handler that updates the state with another values.
What
Current behavior
Next values are propagated to the components and are displayed correctly in the UI, but their counterpart in field state is obsolete.
Expected behavior
Field value updates (regardless of controlled, or uncontrolled fields) are propagated properly into field state.
Why
#268
The text was updated successfully, but these errors were encountered: