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

number field does not accept French numeric values #8963

Open
fahmyr opened this issue Oct 16, 2020 · 4 comments
Open

number field does not accept French numeric values #8963

fahmyr opened this issue Oct 16, 2020 · 4 comments

Comments

@fahmyr
Copy link

fahmyr commented Oct 16, 2020

If I set the TextBox as type="number" it does not allow for French formatted values such as 10,2. If my culture is "fr-CA" and I try and bind a value such as 10,2 to the TextBox it does not work and leaves it blank.

There is no such issue when the culture is "en-CA" and the values are using a decimal point (ie. 10.2)

BugNumericFrench

@RobJohnston
Copy link
Contributor

Duplicate of #6742

@GormFrank
Copy link
Contributor

GormFrank commented Oct 23, 2020

For inputs of type number, it is up to the browser to decide what the formatting of the number should be and unfortunately we can't change that behaviour. The only alternative is to use an input of type text. @fahmyr Thank you for your question and @RobJohnston thank you for linking to the other issue.

@fahmyr
Copy link
Author

fahmyr commented Oct 23, 2020 via email

@ghost
Copy link

ghost commented Oct 23, 2020

Apologies for any confusion. As already stated by @RobJohnston this a duplicate ticket. The issue is with the third party plugin https://jqueryvalidation.org see comment #6742 (comment) for clarification.

I am just a volunteer on this GitHub project.

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

No branches or pull requests

3 participants