diff --git a/docs/release-notes/version-2.8.md b/docs/release-notes/version-2.8.md index 48625d8d9..6598619f8 100644 --- a/docs/release-notes/version-2.8.md +++ b/docs/release-notes/version-2.8.md @@ -37,6 +37,10 @@ For NetBox plugins to be recognized, they must be installed and added by name to * [#4078](https://github.com/netbox-community/netbox/issues/4078) - Standardized description fields across all models * [#4195](https://github.com/netbox-community/netbox/issues/4195) - Enabled application logging (see [logging configuration](../configuration/optional-settings.md#logging)) +### Bug Fixes + +* [#4474](https://github.com/netbox-community/netbox/issues/4474) - Fix population of device types when bulk editing devices + ### API Changes * The `_choices` API endpoints have been removed. Instead, use an `OPTIONS` request to a model's endpoint to view the available values for all fields. ([#3416](https://github.com/netbox-community/netbox/issues/3416)) diff --git a/netbox/dcim/forms.py b/netbox/dcim/forms.py index 6a93718b8..48b0de903 100644 --- a/netbox/dcim/forms.py +++ b/netbox/dcim/forms.py @@ -2097,7 +2097,10 @@ class DeviceBulkEditForm(BootstrapMixin, AddRemoveTagsForm, CustomFieldBulkEditF ) device_type = DynamicModelChoiceField( queryset=DeviceType.objects.all(), - required=False + required=False, + widget=APISelect( + display_field="model", + ) ) device_role = DynamicModelChoiceField( queryset=DeviceRole.objects.all(),