mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
#3122: Allow multiple selections
This commit is contained in:
parent
53db5090c1
commit
435d248645
@ -3175,7 +3175,7 @@ class CableFilterForm(BootstrapMixin, forms.Form):
|
|||||||
queryset=Device.objects.all(),
|
queryset=Device.objects.all(),
|
||||||
required=False,
|
required=False,
|
||||||
label='Device',
|
label='Device',
|
||||||
widget=APISelect(
|
widget=APISelectMultiple(
|
||||||
api_url='/api/dcim/devices/',
|
api_url='/api/dcim/devices/',
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -3254,7 +3254,7 @@ class ConsoleConnectionFilterForm(BootstrapMixin, forms.Form):
|
|||||||
queryset=Device.objects.all(),
|
queryset=Device.objects.all(),
|
||||||
required=False,
|
required=False,
|
||||||
label='Device',
|
label='Device',
|
||||||
widget=APISelect(
|
widget=APISelectMultiple(
|
||||||
api_url='/api/dcim/devices/',
|
api_url='/api/dcim/devices/',
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -3273,7 +3273,7 @@ class PowerConnectionFilterForm(BootstrapMixin, forms.Form):
|
|||||||
queryset=Device.objects.all(),
|
queryset=Device.objects.all(),
|
||||||
required=False,
|
required=False,
|
||||||
label='Device',
|
label='Device',
|
||||||
widget=APISelect(
|
widget=APISelectMultiple(
|
||||||
api_url='/api/dcim/devices/',
|
api_url='/api/dcim/devices/',
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -3292,7 +3292,7 @@ class InterfaceConnectionFilterForm(BootstrapMixin, forms.Form):
|
|||||||
queryset=Device.objects.all(),
|
queryset=Device.objects.all(),
|
||||||
required=False,
|
required=False,
|
||||||
label='Device',
|
label='Device',
|
||||||
widget=APISelect(
|
widget=APISelectMultiple(
|
||||||
api_url='/api/dcim/devices/',
|
api_url='/api/dcim/devices/',
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user