Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decimal Digits validation fails with type number #123

Open
delhibabu86 opened this issue Apr 5, 2018 · 0 comments
Open

Decimal Digits validation fails with type number #123

delhibabu86 opened this issue Apr 5, 2018 · 0 comments

Comments

@delhibabu86
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant