Closed JaneSjs closed 3 weeks ago
The default thousands separator value is ",". If you set decimalSeparator to “,”, you need to change the “thousandsSeparator” too.
"maskSettings": { "decimalSeparator": ",", "thousandsSeparator": ".", "precision": 1, "max": 100 }
@OlgaLarina, thank you. I wish to reset the thouthand separator. I updated mask settings as follows.
{
"pages": [
{
"name": "page1",
"elements": [
{
"type": "text",
"name": "qX",
"title": "X",
"maskType": "numeric",
"maskSettings": {
"decimalSeparator": ",",
"thousandsSeparator": " ",
"precision": 1,
"max": 100
}
}
]
}
]
}
Expected behavior when using a default decimal separator.
https://github.com/surveyjs/survey-library/assets/22372972/12fbaa16-34ac-42d1-a356-4ceab0f51743
The problematic behavior when using the
,
decimal separator.https://github.com/surveyjs/survey-library/assets/22372972/10e581a2-10b8-438a-a0cb-dda9add5af02
View Demo