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 have a javascript function where it push new properties inside a object, but this name properties are not always defined, so i want to add rules to those object properties, i have a code like this:
`
const validationSchema = object().shape({
box: object() // i want to add string().required() to all the new properties of that object...
})`
is this possible?, thanks.
yup version:
"yup": "^0.32.9"
The text was updated successfully, but these errors were encountered:
I have a javascript function where it push new properties inside a object, but this name properties are not always defined, so i want to add rules to those object properties, i have a code like this:
`
const validationSchema = object().shape({
is this possible?, thanks.
yup version:
"yup": "^0.32.9"
The text was updated successfully, but these errors were encountered: