Merge "Mark BooleanFields as non-required in dynamic_ui" into stable/juno
This commit is contained in:
commit
fd8f4cbd4f
|
@ -562,6 +562,7 @@ class BooleanField(forms.BooleanField, CustomPropertiesField):
|
|||
else:
|
||||
widget = forms.CheckboxInput(attrs={'class': 'checkbox'})
|
||||
kwargs['widget'] = widget
|
||||
kwargs['required'] = False
|
||||
super(BooleanField, self).__init__(*args, **kwargs)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue