From 0d1e9d88a8b4bd9250ccb6ded0019a9f5bf138f6 Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Thu, 16 Apr 2026 22:46:09 +0200 Subject: [PATCH] fix(dcim): Add comments field to MAC Address form Include the comments field in MACAddressForm field list to allow editing MAC Address comments via the UI form. Fixes #21947 --- netbox/dcim/forms/model_forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/forms/model_forms.py b/netbox/dcim/forms/model_forms.py index cb5809d4c..b2b013b80 100644 --- a/netbox/dcim/forms/model_forms.py +++ b/netbox/dcim/forms/model_forms.py @@ -1974,7 +1974,7 @@ class MACAddressForm(PrimaryModelForm): class Meta: model = MACAddress fields = [ - 'mac_address', 'interface', 'vminterface', 'description', 'owner', 'tags', + 'mac_address', 'interface', 'vminterface', 'description', 'owner', 'comments', 'tags', ] def __init__(self, *args, **kwargs):