add new phone input
This commit is contained in:
@@ -3,6 +3,7 @@ import { OfficeDetailsType } from "features/order/orderSlice";
|
|||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { ProBottomSheet } from "../ProBottomSheet/ProBottomSheet";
|
import { ProBottomSheet } from "../ProBottomSheet/ProBottomSheet";
|
||||||
|
import ProPhoneInput from "../ProPhoneInput";
|
||||||
|
|
||||||
const { TextArea } = Input;
|
const { TextArea } = Input;
|
||||||
|
|
||||||
@@ -108,16 +109,10 @@ export function OfficeBottomSheet({
|
|||||||
autoFocus={false}
|
autoFocus={false}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="phone" label={t("address.phone")}>
|
<ProPhoneInput
|
||||||
<Input
|
propName="phone"
|
||||||
placeholder={t("address.phone")}
|
label={t("address.phone")}
|
||||||
size="large"
|
|
||||||
style={{
|
|
||||||
fontSize: 14,
|
|
||||||
}}
|
|
||||||
autoFocus={false}
|
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
|
||||||
<Form.Item name="note" label={t("address.note")}>
|
<Form.Item name="note" label={t("address.note")}>
|
||||||
<TextArea
|
<TextArea
|
||||||
placeholder={t("address.addressLabel")}
|
placeholder={t("address.addressLabel")}
|
||||||
|
|||||||
Reference in New Issue
Block a user