Skip to content

Commit

Permalink
Fixes #11028 - Enable clearing of the color field for front and rear …
Browse files Browse the repository at this point in the history
…ports in bulk edit
  • Loading branch information
Patrick Hurrelmann authored and jeremystretch committed Nov 30, 2022
1 parent 9e51a8d commit 3bd560a
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 3bd560a

Please sign in to comment.