Opened 10 years ago
Closed 10 years ago
#12767 closed defect (invalid)
In a Spanish locale, format "x.y" is unable to be accepted in dijit.form.NumberTextBox
Reported by: | wansc | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Dijit - Form | Version: | 1.6.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
In widget dijit.form.NumberTextBox, when inputing data as x.y format in Spanish locale, error message will occur to show that "the value input is not valid"
The problem is easy to recreate. In the example two of the following page. http://docs.dojocampus.org/dijit/form/NumberTextBox, "This example creates a simple NumberTextBox programmatically. The fractional part can be 0 to 6 digits long." input data "1.0" with English locale, no error message occurs, However, when switching to Spanish language, input the same value, error message appears.
Attachments (2)
Change History (4)
Changed 10 years ago by
Attachment: | english local.JPG added |
---|
Changed 10 years ago by
Attachment: | spanish locale.JPG added |
---|
Input data in NumberTextBox? with Spanish locale with Error
comment:1 Changed 10 years ago by
Component: | General → Dijit - Form |
---|---|
Description: | modified (diff) |
Owner: | set to Douglas Hays |
comment:2 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Spanish decimal numbers use commas.
Input data in NumberTextBox? with English locale