mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-04-24 19:32:53 +03:00
Disable show_hidden_initial for localized forms
This commit is contained in:
parent
77e8807876
commit
3bf4435622
@ -33,6 +33,10 @@ class LocalizedFieldForm(forms.MultiValueField):
|
||||
"""Initializes a new instance of :see:LocalizedFieldForm."""
|
||||
|
||||
fields = []
|
||||
"""
|
||||
Do not print initial value in html in the form of a hidden input. This will result in loss of information
|
||||
"""
|
||||
kwargs["show_hidden_initial"] = False
|
||||
|
||||
for lang_code, _ in settings.LANGUAGES:
|
||||
field_options = dict(
|
||||
|
Loading…
x
Reference in New Issue
Block a user