mirror of
https://github.com/netbox-community/netbox.git
synced 2026-02-03 22:06:26 -06:00
feat(dcim): Add selector widget to RackType field
Introduce the selector widget for the RackType field on the rack edit form to improve usability when selecting rack types. Fixes #20841
This commit is contained in:
committed by
Jeremy Stretch
parent
d61737396b
commit
d5718357f1
@@ -269,7 +269,8 @@ class RackForm(TenancyForm, NetBoxModelForm):
|
|||||||
label=_('Rack Type'),
|
label=_('Rack Type'),
|
||||||
queryset=RackType.objects.all(),
|
queryset=RackType.objects.all(),
|
||||||
required=False,
|
required=False,
|
||||||
help_text=_("Select a pre-defined rack type, or set physical characteristics below.")
|
selector=True,
|
||||||
|
help_text=_("Select a pre-defined rack type, or set physical characteristics below."),
|
||||||
)
|
)
|
||||||
comments = CommentField()
|
comments = CommentField()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user