moj-frontend icon indicating copy to clipboard operation
moj-frontend copied to clipboard

Search component hint does not allow HTML to be passed in

Open chrispymm opened this issue 5 months ago • 0 comments

Standard GOV.UK design system text inputs allow a html option to be passed instead of text for the hint text. The search component does not allow this, and passing a hint with an html key simply renders an empty hint element.

For consistency with the main design system and ease of use for developers we should follow GOV.UK conventions and match where possible the options accepted by the GOV.UK text input.

chrispymm avatar Aug 28 '24 10:08 chrispymm