mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 08:08:15 -06:00
Add empty_label to rack_id
This commit is contained in:
parent
faa03f6098
commit
f37c14c0d2
@ -1629,7 +1629,8 @@ class InterfaceListFilterForm(BootstrapMixin, forms.Form):
|
||||
required=False,
|
||||
queryset=Rack.objects.annotate(filter_count=Count('devices')),
|
||||
label='Rack',
|
||||
null_option=(None, 'None')
|
||||
null_option=(None, 'None'),
|
||||
empty_label='--------'
|
||||
)
|
||||
enabled = forms.ChoiceField(choices=add_blank_choice(IFACE_ENABLED_CHOICES), required=False)
|
||||
role = FilterChoiceField(
|
||||
|
Loading…
Reference in New Issue
Block a user