mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Empty MAC address should be null
This commit is contained in:
parent
72a115b434
commit
4883bc3dd4
@ -97,6 +97,11 @@ class DeviceComponentFilterForm(BootstrapMixin, CustomFieldFilterForm):
|
||||
|
||||
|
||||
class InterfaceCommonForm(forms.Form):
|
||||
mac_address = forms.CharField(
|
||||
empty_value=None,
|
||||
required=False,
|
||||
label='MAC address'
|
||||
)
|
||||
|
||||
def clean(self):
|
||||
super().clean()
|
||||
|
Loading…
Reference in New Issue
Block a user