Skip to content

Commit e4252a3

Browse files
committed
Merge branch 'master' of github.com:NHSDigital/nhsuk-react-components-extensions
2 parents c363c4e + 8248226 commit e4252a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/masked-input/MaskedInput.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ const MaskedInput: React.FC<MaskedInputProps> = ({
5959
{ 'nhsuk-input--error': error },
6060
className,
6161
)}
62+
id={id}
6263
aria-describedby={children && id ? `${id}-label` : undefined}
6364
{...rest}
6465
/>

0 commit comments

Comments
 (0)