Remove the extra required=True
Horizon form filed is 'required=True' bu default, So remove the extra one. Change-Id: Ib5178fc28dac95a7188c5d3056a6f0a42fcb59d1
This commit is contained in:
parent
99e1b9fc6e
commit
c4796734c5
|
@ -24,7 +24,7 @@ from karbor_dashboard.api import karbor as karborclient
|
|||
|
||||
|
||||
class CreateProtectionPlanForm(horizon_forms.SelfHandlingForm):
|
||||
name = forms.CharField(label=_("Name"), required=True)
|
||||
name = forms.CharField(label=_("Name"))
|
||||
provider_id = forms.ChoiceField(label=_('Protection Provider'),
|
||||
choices=[],
|
||||
widget=forms.Select(attrs={
|
||||
|
|
Loading…
Reference in New Issue