Skip to content

Commit

Permalink
Add widget
Browse files Browse the repository at this point in the history
  • Loading branch information
vctrklndr committed Aug 21, 2024
1 parent 93a5973 commit 899bd6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wagtailstreamforms/wagtailstreamforms_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,8 @@ def __init__(self, attrs=None, *args, **kwargs):


class MultiFileField(BaseField):
widget = MultiFileInput()
field_class = forms.FileField
widget = forms.widgets.FileInput(attrs={"multiple": True})
widget = MultiFileInput()
icon = "doc-full-inverse"
label = _("Files field")

Expand Down

0 comments on commit 899bd6a

Please sign in to comment.