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
How to make such a type that the field is either absent at all or is a number, i tried it:
But as you see from console.log it doesnt work, because null is ok for validator(same for undefined)
It will be ok if someone tells me how to make the null value not allowed, undefining is acceptable for me
The text was updated successfully, but these errors were encountered:
How to make such a type that the field is either absent at all or is a number, i tried it:
But as you see from console.log it doesnt work, because null is ok for validator(same for undefined)
It will be ok if someone tells me how to make the null value not allowed, undefining is acceptable for me
The text was updated successfully, but these errors were encountered: