Skip to content

Commit

Permalink
Fixes netbox-community#11028 - Enable clearing of the color field for…
Browse files Browse the repository at this point in the history
… front and rear ports in bulk edit
  • Loading branch information
Patrick Hurrelmann committed Nov 30, 2022
1 parent 9e51a8d commit 52478e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netbox/dcim/forms/bulk_edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ class FrontPortBulkEditForm(
fieldsets = (
(None, ('module', 'type', 'label', 'color', 'description', 'mark_connected')),
)
nullable_fields = ('module', 'label', 'description')
nullable_fields = ('module', 'label', 'description', 'color')


class RearPortBulkEditForm(
Expand All @@ -1229,7 +1229,7 @@ class RearPortBulkEditForm(
fieldsets = (
(None, ('module', 'type', 'label', 'color', 'description', 'mark_connected')),
)
nullable_fields = ('module', 'label', 'description')
nullable_fields = ('module', 'label', 'description', 'color')


class ModuleBayBulkEditForm(
Expand Down

0 comments on commit 52478e6

Please sign in to comment.