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
I suggest to expose the prop based on valuePropName option, instead of hard value.
Why
For the fields where "value" is a not a value prop name (i.e. datepicker uses "selected" instead of "value"), it is confusing to receive a value parameter in the rule resolver function.
How
Provide { [valuePropName]: fieldProps.get(fieldProps.get('valuePropName')) } as a value prop shorthand in all validation rule resolvers.