1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #3289: Prevent position from being nullified when moving a device to a new rack

This commit is contained in:
Jeremy Stretch
2019-07-30 17:07:58 -04:00
parent a6c41e0be5
commit ea32853ab3
3 changed files with 6 additions and 3 deletions

View File

@@ -1268,7 +1268,7 @@ class DeviceForm(BootstrapMixin, TenancyForm, CustomFieldForm):
required=False,
widget=APISelect(
api_url='/api/dcim/racks/',
display_field='display_name',
display_field='display_name'
)
)
position = forms.TypedChoiceField(