Skip to content

Commit 3bd560a

Browse files
Patrick Hurrelmannjeremystretch
authored andcommitted
Fixes #11028 - Enable clearing of the color field for front and rear ports in bulk edit
1 parent 9e51a8d commit 3bd560a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netbox/dcim/forms/bulk_edit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ class FrontPortBulkEditForm(
12181218
fieldsets = (
12191219
(None, ('module', 'type', 'label', 'color', 'description', 'mark_connected')),
12201220
)
1221-
nullable_fields = ('module', 'label', 'description')
1221+
nullable_fields = ('module', 'label', 'description', 'color')
12221222

12231223

12241224
class RearPortBulkEditForm(
@@ -1229,7 +1229,7 @@ class RearPortBulkEditForm(
12291229
fieldsets = (
12301230
(None, ('module', 'type', 'label', 'color', 'description', 'mark_connected')),
12311231
)
1232-
nullable_fields = ('module', 'label', 'description')
1232+
nullable_fields = ('module', 'label', 'description', 'color')
12331233

12341234

12351235
class ModuleBayBulkEditForm(

0 commit comments

Comments
 (0)