Fix custom form config

This commit is contained in:
Tobias Kunze 2025-12-09 16:16:19 +01:00
parent 33ebf678be
commit 3528c3b4f5

View file

@ -254,7 +254,7 @@ class ServiceDefinitionAdminForm(forms.ModelForm):
if not schema or not (spec_schema := schema.get("properties", {}).get("spec")):
return
valid_paths = self._extract_field_paths(spec_schema, "spec") | {"name"}
valid_paths = self._extract_field_paths(spec_schema, "spec") | {"display_name"}
included_mappings = set()
errors = []
for fieldset in form_config.get("fieldsets", []):