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

Fixes #12550: Fix rear port selection widget under front port creation form

This commit is contained in:
jeremystretch
2023-05-10 10:44:01 -04:00
parent 2d0ac213c7
commit b7f028fba3
3 changed files with 9 additions and 4 deletions

View File

@ -242,6 +242,7 @@ class FrontPortCreateForm(ComponentCreateForm, model_forms.FrontPortForm):
choices=[],
label=_('Rear ports'),
help_text=_('Select one rear port assignment for each front port being created.'),
widget=forms.SelectMultiple(attrs={'size': 6})
)
# Override fieldsets from FrontPortForm to omit rear_port_position