Details
-
Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
Master
-
None
-
None
-
3
Description
Description
Decimal number field displays the wrong decimal separator in page preview with a Web Content Display widget.
Steps to Reproduce
- Go to Content & Data > Web Content > Structures tab;
- Add a new Structure;
- Add a decimal numeric field and be sure they are localizable and save;
- Go to Templates and add a new Template;
- Select the created Structure and add the numeric field to the template and save;
- Go to Web Content;
- Add a new Web Content from the created Structure;
- Add a decimal value to the numeric field: 10.11;
- Change locale to es-ES;
- Add another decimal value to the numeric field: 20,22 (see that here comma and point changes based on locale);
- Save the Web Content;
- Go to Site Builder > Pages;
- Create a new Public Page;
- Select Blank Template;
- Add a Web Content Display widget;
- Go to widget configuration and select the created Web Content;
- Add a Language Selector widget;
- Go to page preview;
- Use the Language Selector widget that you just added to select es-ES;
Expected Result
The decimal number field should display a comma as decimal separator.
Actual Result
The decimal number field displays a dot as decimal separator.
Reproduced In
master: f2df0b12cb4751b76e424ccd4bba1e5a0c8019c3
Attachments
Issue Links
- Discovered while testing
-
LPS-131584 Decimales in fields type ddm-number and ddm-decimal always displays the decimal separator as point
- Closed