Thousand Marker on Statistics block is not beign applied in the frontend

Created on 4 April 2024, 9 months ago
Updated 28 December 2024, 8 days ago

Problem/Motivation

Steps to reproduce

1 - Use the statistics IXM Block;
2 - Create the default block adding the paragraphs on it;
3 - Save the block and place it whenever place you want at your page or layout;
4 - Go on /admin/structure/paragraphs_type/ixm_blocks_statistics_item/display and change the Thousand marker from comma to decimal point (for example);

Expected Result

The Thousand marker in the frontend should render the same config set on manage display for the field;

Obtained result

Whenever you change the Thousand marker, in the frontend always show with comma (,)

Proposed resolution

Set the parameter of thousand marker in the twig template
Update the statistics-counter.js to set the counter using the thousand marker provided on the backend

Remaining tasks

No

User interface changes

No

API changes

No

Data model changes

No

๐Ÿ› Bug report
Status

Needs work

Version

1.0

Component

User interface

Created by

๐Ÿ‡ง๐Ÿ‡ทBrazil pinesso

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024