mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#10270 - fix custom field validation for ipam services
This commit is contained in:
@ -854,6 +854,7 @@ class ServiceCreateForm(ServiceForm):
|
||||
del self.fields[field].widget.attrs['required']
|
||||
|
||||
def clean(self):
|
||||
super().clean()
|
||||
if self.cleaned_data['service_template']:
|
||||
# Create a new Service from the specified template
|
||||
service_template = self.cleaned_data['service_template']
|
||||
|
Reference in New Issue
Block a user