v1.0.3
This patch fix the unnecessary inner state (as fields) arg on the requiredError handler function and validator rules handler. Now the fields are contains only the final key value pairs.
Example from before state:
validators: [{ rule: (value, fields) => value !== fields.someOtherField.value, error: 'This is not good...' }]Example with this patch:
validators: [{ rule: (value, fields) => value !== fields.someOtherField, error: 'This is not good...' }]