ProPhoneInput: fix validation and value
This commit is contained in:
@@ -73,8 +73,6 @@ export function GiftBottomSheet({
|
||||
</Form.Item>
|
||||
|
||||
<ProPhoneInput
|
||||
phone={giftForm.getFieldValue("receiverPhone")}
|
||||
setPhone={(phone) => giftForm.setFieldValue("receiverPhone", phone)}
|
||||
propName="receiverPhone"
|
||||
label={t("address.receiverPhone")}
|
||||
/>
|
||||
@@ -109,8 +107,6 @@ export function GiftBottomSheet({
|
||||
</Form.Item>
|
||||
|
||||
<ProPhoneInput
|
||||
phone={giftForm.getFieldValue("senderPhone")}
|
||||
setPhone={(phone) => giftForm.setFieldValue("senderPhone", phone)}
|
||||
propName="senderPhone"
|
||||
label={t("address.receiverPhone")}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user