diff --git a/netbox/dcim/forms/bulk_edit.py b/netbox/dcim/forms/bulk_edit.py index c6d2cb1d3..69ee65ff8 100644 --- a/netbox/dcim/forms/bulk_edit.py +++ b/netbox/dcim/forms/bulk_edit.py @@ -1284,11 +1284,16 @@ class MACAddressBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) + is_primary = forms.NullBooleanField( + label=_('Is primary'), + required=False, + widget=BulkEditNullBooleanSelect(), + ) comments = CommentField() model = MACAddress fieldsets = ( - FieldSet('description'), + FieldSet('description', 'is_primary'), ) nullable_fields = ( 'description', 'comments',