This method is designed to update the fields values during the runtime without making the fields controlled explicitly. You must not invoke setValues() on controlled fields.
Definition
type SetValues = (fieldsDelta: FieldsDelta) => void
type FieldsDelta = {
[fieldPath: string]: any | FieldsDelta,
}
Example
Call the formRef.setValues() with the Object as its argument. Each key in that Object represents a field path, and each value either the next same Object, or the next value of the selected field.