mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-12 11:29:36 -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:
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()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user