fix: allow any type of phone number
This commit is contained in:
committed by
Michael Zetterberg
parent
79e669020a
commit
9580281421
@@ -7,9 +7,9 @@ import { getLocalizedLanguageOptions } from "@/constants/languages"
|
||||
import Divider from "@/components/TempDesignSystem/Divider"
|
||||
import CountrySelect from "@/components/TempDesignSystem/Form/Country"
|
||||
import DateSelect from "@/components/TempDesignSystem/Form/Date"
|
||||
import DeprecatedPhone from "@/components/TempDesignSystem/Form/DeprecatedPhone"
|
||||
import Input from "@/components/TempDesignSystem/Form/Input"
|
||||
import PasswordInput from "@/components/TempDesignSystem/Form/PasswordInput"
|
||||
import Phone from "@/components/TempDesignSystem/Form/Phone"
|
||||
import Select from "@/components/TempDesignSystem/Form/Select"
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
import useLang from "@/hooks/useLang"
|
||||
@@ -87,7 +87,11 @@ export default function FormContent() {
|
||||
type="email"
|
||||
data-hj-suppress
|
||||
/>
|
||||
<Phone label={phoneNumber} name="phoneNumber" data-hj-suppress />
|
||||
<DeprecatedPhone
|
||||
label={phoneNumber}
|
||||
name="phoneNumber"
|
||||
data-hj-suppress
|
||||
/>
|
||||
<Select
|
||||
items={languageOptions}
|
||||
label={intl.formatMessage({
|
||||
|
||||
Reference in New Issue
Block a user