We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c363c4e + 8248226 commit e4252a3Copy full SHA for e4252a3
src/components/masked-input/MaskedInput.tsx
@@ -59,6 +59,7 @@ const MaskedInput: React.FC<MaskedInputProps> = ({
59
{ 'nhsuk-input--error': error },
60
className,
61
)}
62
+ id={id}
63
aria-describedby={children && id ? `${id}-label` : undefined}
64
{...rest}
65
/>
0 commit comments