Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.12.1, 5.12.2
-
3359b29c99581f52acf033489ad35884a01ccac8 (qt/qtbase/5.15)
Description
[Original issue text here, but see comments below]
DoubleValidator with a locale where a comma is used a separator is not working as expected.
It is working with IntValidator.
Please find the sample attached and enter 12,34 in Integer field, it will turn red as IntValidator correctly determines that it is invalid. The correct thousand separator based on the format is 1,234
But when 12,34.1 is entered in the decimal field, it will remain in black. As DoubleValidator does not validate the string based on the locale supplied.
Attachments
Issue Links
- relates to
-
QTBUG-79902 QLocale: make fuller and more faithful use of the CLDR data
- Open
-
QTBUG-88453 Feature Request: Enable using Locale and its NumberOptions for DoubleValidator
- Reported
- resulted in
-
QTBUG-91196 Locale QML documetnation lists misspelled property
- Closed
For Gerrit Dashboard: QTBUG-75110 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
283433,8 | Locale: expose NumberOptions to QML | 5.15 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
283499,2 | QDoubleValidator: Fix thousand separator handling | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |