-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
Design SystemIssues related to the system of combining components according to best practices.Issues related to the system of combining components according to best practices.Needs DesignNeeds design efforts.Needs design efforts.[Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyondWork surrounding upgrading and evolving views in the site editor and beyond[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
Proposal
Add a FieldGroup abstraction within DataForm that represents a meaningful grouping of related fields e.g. Address, or Credit card inputs.
This would map to semantic fieldset and legend elements in the markup, giving clearer structure and built-in accessibility.
FieldGroups can be visually separated from other fields using dividers or some other style technique.
Why
- Aligns useful visual separation of fields with meaningful structure.
- Adopts semantic HTML (
fieldset/legend) - Scales better as forms grow in complexity
Open Questions
- Should
FieldGrouprequire a legend? - Do we allow visually hidden legends?
- Do we need support for nested groups?
- Would
FieldGrouprequire any special rules for specific layout options (e.g. inrowlayout it may make sense forFieldGroupto always occupy a full row.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Design SystemIssues related to the system of combining components according to best practices.Issues related to the system of combining components according to best practices.Needs DesignNeeds design efforts.Needs design efforts.[Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyondWork surrounding upgrading and evolving views in the site editor and beyond[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Projects
Status
No status