fix(forms): omit non-control ids from submissions
Merged
HA
2mo ago+263+263+012345678901234567890123456789-10-10-01234567890123456789
Fixes #7104
Summary
• Exclude non-form-control element IDs from form submission payloads.
• Prevent labels, validation messages, submit buttons, and other non-input descendants from appearing as null entries.
• Preserve IDs for actual form controls.
• Add regression coverage and a changelog fragment.
Validation
• uv run pytest tests/units/components/forms/test_form.py -q — 17 passed
• Targeted pre-commit checks passed: Ruff format/check, codespell, Pyright, and ty
• git diff --check passed