Make switched multiple choice field work
Due to horizon bug 1732260, ThemableCheckboxSelectMultiple seems not to work as 'switched' field. The workaround is to replace it with CheckboxSelectMultiple. Change-Id: I763291ccbef1660415769fc66a940f7ecd11bbf6 Closes-Bug: #1747011
This commit is contained in:
parent
e4ed12078b
commit
dc938f032f
|
@ -147,7 +147,7 @@ class AddEndpointGroupAction(workflows.Action):
|
|||
subnets = forms.MultipleChoiceField(
|
||||
required=False,
|
||||
label=_("Local System Subnets"),
|
||||
widget=forms.ThemableCheckboxSelectMultiple(attrs={
|
||||
widget=forms.CheckboxSelectMultiple(attrs={
|
||||
'class': 'switched',
|
||||
'data-switch-on': 'type',
|
||||
'data-type-subnet': _("External System Subnets"),
|
||||
|
|
Loading…
Reference in New Issue