joystick
joystick copied to clipboard
Form "require" validation
These form validation rules should behave the same.
const booleanValue = false
'expire-at': {
...(booleanValue ? { required: true } : {}))
},
and
const booleanValue = false
'expire-at': {
required: booleanValue
},
Expected: Based on the "booleanValue" the tested field gonna be required.
Actual Regardless of the "booleanValue", if the required is set it will validate as "required"
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This PR was closed because it has been stalled for 5 days with no activity.