Commit 8a0f80fa authored by Romain Courteaud's avatar Romain Courteaud

Formulator: attribute "value" is not allowed on element "input" with type "file"

parent 1013468a
...@@ -744,7 +744,6 @@ class FileWidget(TextWidget): ...@@ -744,7 +744,6 @@ class FileWidget(TextWidget):
type="file", type="file",
name=key, name=key,
css_class=field.get_value('css_class'), css_class=field.get_value('css_class'),
value=value,
size=field.get_value('display_width'), size=field.get_value('display_width'),
maxlength=display_maxwidth, maxlength=display_maxwidth,
extra=field.get_value('extra')) extra=field.get_value('extra'))
...@@ -753,7 +752,6 @@ class FileWidget(TextWidget): ...@@ -753,7 +752,6 @@ class FileWidget(TextWidget):
type="file", type="file",
name=key, name=key,
css_class=field.get_value('css_class'), css_class=field.get_value('css_class'),
value=value,
size=field.get_value('display_width'), size=field.get_value('display_width'),
extra=field.get_value('extra')) extra=field.get_value('extra'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment