globalizejs / globalizejs/globalize

Decimal numbers with comma fail validation in Germany or Turkish

Open
#846 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.8k
Forks
585
PR merge metrics
No merged PRs in 30d

Description

Hi,
I have Language option in my project with localization.
if I use type="number" in Turkish Or German I get this error that "Please enter a number". Number is 1,5(with comma)
if I use English, I mean 1.2 in Enlish, there is no problem.
how to fix it ? why I can not use type="number"

public decimal Price { get; set; }
``

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.