Fix custom form config
All checks were successful
Tests / test (push) Successful in 29s

This commit is contained in:
Tobias Kunze 2025-12-09 16:16:19 +01:00
parent 86feb0ae4f
commit ce92f6f29e

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", []):