Skip to content
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

Form fields localization #40

Open
trendspotter opened this issue Dec 1, 2017 · 0 comments
Open

Form fields localization #40

trendspotter opened this issue Dec 1, 2017 · 0 comments

Comments

@trendspotter
Copy link

CTS does not accept localized values in form fields. This is especially annoying in locales using comma as decimal separator. The application correctly populates the placeholder as eg 0,00 but then complains that the value is not a valid number and accepts only dot as a decimal separator.

Seems that form field localization needs to be explicitly enabled - https://docs.djangoproject.com/en/1.8/topics/forms/modelforms/#enabling-localization-of-fields

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant