OnyxRadioButton shows a custom Error as tooltip (standard browser tooltip that is set via title). the same behavior should be implemented for checkbox + switch
Design
Acceptance criteria
Implement/align the following features
[x] set title for custom error
[x] set title for standard translated errors, e.g. required
[x] when title is used already for a control with hidden label, showing an error message takes precedence over the label.
Why?
OnyxRadioButton shows a custom Error as tooltip (standard browser tooltip that is set via
title
). the same behavior should be implemented for checkbox + switchDesign
Acceptance criteria
Implement/align the following features
title
for custom errortitle
for standard translated errors, e.g.required
title
is used already for a control with hidden label, showing an error message takes precedence over the label.for
Definition of Done
In Approval
Approval
Storybook links: