wip: new PhoneCountryCode Select
This commit is contained in:
committed by
Michael Zetterberg
parent
5f12dedb50
commit
79e669020a
@@ -10,6 +10,8 @@ import SpecialRequests from "@/components/HotelReservation/EnterDetails/Details/
|
||||
import CountrySelect from "@/components/TempDesignSystem/Form/Country"
|
||||
import Input from "@/components/TempDesignSystem/Form/Input"
|
||||
import Phone from "@/components/TempDesignSystem/Form/Phone"
|
||||
import PhoneCountryCode from "@/components/TempDesignSystem/Form/Phone/CountryCode"
|
||||
import PhoneNumber from "@/components/TempDesignSystem/Form/Phone/Number"
|
||||
import Footnote from "@/components/TempDesignSystem/Text/Footnote"
|
||||
import { useRoomContext } from "@/contexts/Details/Room"
|
||||
|
||||
@@ -159,6 +161,10 @@ export default function Details({ user }: DetailsProps) {
|
||||
readOnly={!!user}
|
||||
registerOptions={{ required: true, onBlur: updateDetailsStore }}
|
||||
/>
|
||||
<div>
|
||||
<PhoneCountryCode />
|
||||
<PhoneNumber />
|
||||
</div>
|
||||
{user ? null : (
|
||||
<div className={styles.fullWidth}>
|
||||
<Signup
|
||||
|
||||
Reference in New Issue
Block a user