From 99bed4e7eca199aae3a14a54f9d11eb8ec42f52b Mon Sep 17 00:00:00 2001 From: alice-bell Date: Wed, 18 Dec 2024 11:14:11 +0000 Subject: [PATCH] NCRS-3363: updated to use ReactInputMask --- src/components/masked-input/MaskedInput.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/masked-input/MaskedInput.tsx b/src/components/masked-input/MaskedInput.tsx index 0bdb74a..d8c9e0f 100644 --- a/src/components/masked-input/MaskedInput.tsx +++ b/src/components/masked-input/MaskedInput.tsx @@ -6,7 +6,8 @@ import { InputWidth } from 'nhsuk-react-components/dist/esm/util/types/NHSUKType import FormGroup from './LocalFormGroup'; -import InputMask, { ReactInputMask } from 'react-input-mask'; +// import InputMask, { ReactInputMask } from 'react-input-mask'; +import ReactInputMask from 'react-input-mask'; import classNames from 'classnames'; @@ -30,7 +31,7 @@ FormElementProps & { const MaskedInput: React.FC = props => ( inputType="input" {...props}> {({ className, width, error, ref, ...rest }:any) => ( -