add card details validation
This commit is contained in:
@@ -15,7 +15,12 @@ export default function SenderformationCard() {
|
||||
return (
|
||||
<ProInputCard title={t("cardDetails.yourInformation")}>
|
||||
<div className={styles.customerInformationCard}>
|
||||
<Form.Item name="senderName">
|
||||
<Form.Item
|
||||
name="senderName"
|
||||
rules={[
|
||||
{ required: true, message: t("cardDetails.senderNameRequired") },
|
||||
]}
|
||||
>
|
||||
<Input
|
||||
placeholder={t("cardDetails.yourName")}
|
||||
size="large"
|
||||
|
||||
Reference in New Issue
Block a user