Open sergei-maertens opened 1 year ago
Open Forms is now showing the errors below the field and the same is happening for Utrecht.
grid
and define the areas via a design token (textbox-grid-template-areas
), which could update the checkbox component ( https://github.com/nl-design-system/utrecht/blob/2d53158b64091e58a6edce127669ace2db28d162/components/form-field/css/_mixin.scss#L102) for example.Discussed with NL DS - the intent is indeed that the validation error is above the field, but their own storybook gives incorrect examples. They will update those components/examples.
NL DS leans towards putting validation errors above the field (consistent with the gov.uk approach), while the Open Forms theme puts them below. We want to avoid users having to override the container/wrapper component layout just to achieve this, as there should be CSS-only solutions.
Possible options: