-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Price slider incorrect format in german locale store #59
Comments
Hi @tim-breitenstein-it |
I implemented a solution based on: Get the actual language based on But I think it`s a bit overloaded for this small feature? What you think?
|
Yeah, I'd rather play around with toLocaleString but then we have to parseInt those values etc, so it has to work 2-way (read and write). We created internal ticket for this but I wouldn't expect this fix soonish 😞 |
@tim-breitenstein-it we prepared solution and it should be available with next release |
Seems to work! |
The javascrip parseFloat() function is not working for price slider if the store locale is german.
In a german store the
,
is the decimal separator und the.
is the thousand separator.URL:
http://m24.test.com/test.html?price=0-4870
Initial situation:
Click into from price (1) => to price change to incorret format
Click into to price (2) => to price change to incorret format
Same behavior for to price if to price is filled.
In english locale store it works fine benause the
.
is the decimal separator und the,
the thousand separator.Solution for German store:
If switch back to english store the solution for german store will not work.
The text was updated successfully, but these errors were encountered: