@@ -134,6 +134,7 @@ class ComponentForm(BootstrapMixin, forms.Form):
134
134
)
135
135
136
136
def clean (self ):
137
+ super ().clean ()
137
138
138
139
# Validate that the number of components being created from both the name_pattern and label_pattern are equal
139
140
if self .cleaned_data ['label_pattern' ]:
@@ -1438,6 +1439,7 @@ def __init__(self, *args, **kwargs):
1438
1439
self .fields ['rear_port_set' ].choices = choices
1439
1440
1440
1441
def clean (self ):
1442
+ super ().clean ()
1441
1443
1442
1444
# Validate that the number of ports being created equals the number of selected (rear port, position) tuples
1443
1445
front_port_count = len (self .cleaned_data ['name_pattern' ])
@@ -2929,6 +2931,7 @@ def __init__(self, *args, **kwargs):
2929
2931
self .fields ['lag' ].widget .attrs ['disabled' ] = True
2930
2932
2931
2933
def clean (self ):
2934
+ super ().clean ()
2932
2935
2933
2936
# Untagged interfaces cannot be assigned tagged VLANs
2934
2937
if self .cleaned_data ['mode' ] == InterfaceModeChoices .MODE_ACCESS and self .cleaned_data ['tagged_vlans' ]:
@@ -3077,6 +3080,7 @@ def __init__(self, *args, **kwargs):
3077
3080
self .fields ['rear_port_set' ].choices = choices
3078
3081
3079
3082
def clean (self ):
3083
+ super ().clean ()
3080
3084
3081
3085
# Validate that the number of ports being created equals the number of selected (rear port, position) tuples
3082
3086
front_port_count = len (self .cleaned_data ['name_pattern' ])
@@ -3909,6 +3913,7 @@ class Meta:
3909
3913
]
3910
3914
3911
3915
def clean (self ):
3916
+ super ().clean ()
3912
3917
3913
3918
# Validate length/unit
3914
3919
length = self .cleaned_data .get ('length' )
0 commit comments