Summary
When the user saves a schema that the server rejects (e.g., a choice field with too many options), parseFormSchema returns { ok: false, message: "f3: too many options (max 30)" }. The FormDetailPage currently shows this in the global `actionError` banner, not inline next to the offending field.
Requirements
Context
Plan 4 review follow-up. UX polish — current behavior works but is hard to act on for forms with many fields.
Files
- `apps/admin/src/pages/forms/FormDetailPage.tsx` (Save schema handler)
- `apps/admin/src/components/FormBuilder.tsx` (accept and render field-specific error prop)
Summary
When the user saves a schema that the server rejects (e.g., a choice field with too many options),
parseFormSchemareturns{ ok: false, message: "f3: too many options (max 30)" }. The FormDetailPage currently shows this in the global `actionError` banner, not inline next to the offending field.Requirements
Context
Plan 4 review follow-up. UX polish — current behavior works but is hard to act on for forms with many fields.
Files