Usage
schema.ts.
Coming from ui-forms SectionedForm and useSectionErrorState? packages/ui/docs/migrating-from-ui-forms.md shows the caller-derived section status and the other prop changes.
name and it submits its value, restores its default on a form reset, and takes required and invalid. Its label names the radiogroup; the section title already names the group around it.packages/ui/docs/decisions/0023-forms-and-settings-composition.md, decision 5).requiredHint, description, errorSummary, pending, submitDisabled, width) applies to the whole form.h2 by default; pass level for a form under an h2) and also names the section's group of fields, so a screen reader announces the group on entry and heading navigation still finds it.description sits under the title and describes the group.error on a section to say what needs attention there, and put the section names in the form's errorSummary ("One section needs attention: Profile"). Field errors stay with their fields. Set status={FormLayoutSectionedStatus.Error} with a statusLabel ("Needs attention") to mark the heading; the dot is decorative, so the text always carries the meaning.FormLayoutSectionedStatus.Complete with its label marks a finished section. The block derives no status: the caller knows which sections are valid.disabled on a section disables its group natively. Put the whole form in a disabled Fieldset to disable every section.@prepared911/ui/blocks/form-layout-sectioned/styles.css, the stylesheet of FormLayoutStandard, and those of the components it composes (Fieldset, Separator, StatusDot, Text, Box, and the fields you pass).