2
0
Эх сурвалжийг харах

Fix default field type in forms (#645)

Fixes #628. Minor fix providing a valid default for the form field type.
Alex Es 4 сар өмнө
parent
commit
c810f11001

+ 1 - 1
coderedcms/forms.py

@@ -186,7 +186,7 @@ class CoderedFormField(AbstractFormField):
         max_length=16,
         max_length=16,
         choices=FORM_FIELD_CHOICES,
         choices=FORM_FIELD_CHOICES,
         blank=False,
         blank=False,
-        default="Single line text",
+        default="singleline",
     )
     )