mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 18:08:38 -06:00
Fixed selection of sites not assigned to a region
This commit is contained in:
parent
3ded8196c4
commit
1341ab5703
@ -98,7 +98,7 @@ class ClusterAddDevicesForm(BootstrapMixin, ChainedFieldsMixin, forms.Form):
|
|||||||
queryset=Region.objects.all(),
|
queryset=Region.objects.all(),
|
||||||
required=False,
|
required=False,
|
||||||
widget=forms.Select(
|
widget=forms.Select(
|
||||||
attrs={'filter-for': 'site'}
|
attrs={'filter-for': 'site', 'nullable': 'true'}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
site = ChainedModelChoiceField(
|
site = ChainedModelChoiceField(
|
||||||
|
Loading…
Reference in New Issue
Block a user