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
When adding a string parameter to required() ex. 'required("Required")' for yup.date the parameter is not added to the validation object when validate() is ran.
expected: Required
actual: effectiveDate must be a date type, but the final value was: Invalid Date (cast from the value "").
When adding a string parameter to required() ex. 'required("Required")' for yup.date the parameter is not added to the validation object when validate() is ran.
expected: Required
actual: effectiveDate must be a
date
type, but the final value was:Invalid Date
(cast from the value""
).Yup Object used
Also expirationDate's error message in the validation object shows "Requred" as expected.
The text was updated successfully, but these errors were encountered: