-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
It seems like the fieldset component will set itself in error if one of the child inputs inside it is in error. This is not correct - it should only be in error if the fieldset as a whole is in error.
The result is that the left red error bar extends across the entire fieldset, rather than just the field that is in error.
You could possibly say that this is something to be decided on a question by question basis - but then this shouldn't be the default as it's not how the native components work.
It's not in the docs, but reading the package source, I see you can use <Fieldset disableErrorLine="false"> to explicitly disable this.
There's no example of this in the NHS design system, but it's covered in the GOV.UK design system:

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

