diff --git a/packages/ui/src/components/Input/PhoneInput.tsx b/packages/ui/src/components/Input/PhoneInput.tsx index 836481e82..fa7fed594 100644 --- a/packages/ui/src/components/Input/PhoneInput.tsx +++ b/packages/ui/src/components/Input/PhoneInput.tsx @@ -91,7 +91,7 @@ const PhoneInput = ({ setOnFocus(false); }} onChange={({ target: { value } }) => { - onChange({ nationalNumber: value.replaceAll(/\D/g, '') }); + onChange({ nationalNumber: value.replace(/\D/g, '') }); }} /> {nationalNumber && onFocus && (