1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixed selection of sites not assigned to a region

This commit is contained in:
Jeremy Stretch
2017-09-01 10:10:10 -04:00
parent 3ded8196c4
commit 1341ab5703

View File

@ -98,7 +98,7 @@ class ClusterAddDevicesForm(BootstrapMixin, ChainedFieldsMixin, forms.Form):
queryset=Region.objects.all(),
required=False,
widget=forms.Select(
attrs={'filter-for': 'site'}
attrs={'filter-for': 'site', 'nullable': 'true'}
)
)
site = ChainedModelChoiceField(