Skip to content

Decimal Digits validation fails with type number #123

@delhibabu86

Description

@delhibabu86

Hi

I am trying to validate type constraint number for a field which had decimal values. However, the validation fails and i see the error message. Please let me know what type should i validate for a field where only numbers(either integer or decimal fields) will be present.

For example
Const num = 123.34 // this should be fine
const num = rds // this should throw error

For case 1 in example , i am still getting the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions