Skip to content

How to make such a type that the field is either absent at all or is a number #330

@AD2018

Description

@AD2018

How to make such a type that the field is either absent at all or is a number, i tried it:
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions