mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #7273: Disable automatic sorting of select options fetched via API
This commit is contained in:
@@ -2202,9 +2202,7 @@ class DeviceForm(BootstrapMixin, TenancyForm, CustomFieldModelForm):
|
||||
api_url='/api/dcim/racks/{{rack}}/elevation/',
|
||||
attrs={
|
||||
'disabled-indicator': 'device',
|
||||
'data-query-param-face': "[\"$face\"]",
|
||||
# The UI will not sort this element's options.
|
||||
'pre-sorted': ''
|
||||
'data-query-param-face': "[\"$face\"]"
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user