You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: forms 422 for a field that is not on the page shows only "Correct the highlighted fields" #739
Found while building form-records (#529); existing forms behaviour, not introduced by it. Not reproduced separately end to end.
Minimal reproduction
Submit a forms (or form-records edit) page with an extra field that the page does not render, for example a crafted POST including a non-editable field. Admission correctly refuses it with 422 and an error keyed by that field name. But the renderer only places errors next to rendered fields, so the user sees only the generic alert "Correct the highlighted fields", and nothing is highlighted.
Relevant output
The generic alert, with no field message. Suggested fix: when the error map contains keys that are not rendered fields, list them in the alert (by field label if declared, else a generic "this form received a field it does not accept"), without echoing submitted values.
Activity
feat(forms,store,form-records): name off-page field errors; clear opt…