We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcd3f09 commit 7a63e11Copy full SHA for 7a63e11
netbox/netbox/models/features.py
@@ -236,7 +236,7 @@ def get_custom_fields_by_group(self):
236
237
for cf in visible_custom_fields:
238
value = self.custom_field_data.get(cf.name)
239
- if value in (None, []) and cf.ui_visible == CustomFieldUIVisibleChoices.IF_SET:
+ if value in (None, '', []) and cf.ui_visible == CustomFieldUIVisibleChoices.IF_SET:
240
continue
241
value = cf.deserialize(value)
242
groups[cf.group_name][cf] = value
0 commit comments