Skip to content

Commit ed00323

Browse files
committed
pass use_json_field to StreamField initializer
1 parent aea6251 commit ed00323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wagtailstreamforms/streamfield.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ def dependencies(self):
4444

4545
class FormFieldsStreamField(StreamField):
4646
def __init__(self, block_types, use_json_field=None, **kwargs):
47-
super().__init__(block_types, **kwargs)
47+
super().__init__(block_types, use_json_field=use_json_field, **kwargs)
4848
self.stream_block = FormFieldStreamBlock(block_types, required=not self.blank)

0 commit comments

Comments
 (0)