mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 19:36:26 -06:00
#3122: Allow multiple selections
This commit is contained in:
parent
ac994374a4
commit
5e90f673be
@ -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