-
Notifications
You must be signed in to change notification settings - Fork 2
Add options for automatically accepting pending values #88
Copy link
Copy link
Open
Description
Some use cases may want incoming values to automatically replace current values. Add a nextValuesPolicy or similar field to useForm() config to control this behavior.
possible behaviors:
accept: automatically accept all incoming valuesreject: automatically reject all incoming values (this would make thevaluesprop behave as an "initialValues" prop)default: current behavior, each field derives adetachedstate and offers accept and reject callbacksacceptPristine:automatically accept all incoming values on fields that have not been edited and are not focused- callback funciton: some kind of user defined callback, interface TBD
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels