diff --git a/src/components/MyWallet/Popup/AddFundDollars.jsx b/src/components/MyWallet/Popup/AddFundDollars.jsx index 0db090f..44769ef 100644 --- a/src/components/MyWallet/Popup/AddFundDollars.jsx +++ b/src/components/MyWallet/Popup/AddFundDollars.jsx @@ -47,7 +47,7 @@ const validationSchema = Yup.object().shape({ .min(1, "1 chars min.") .max(2, "2 chars max.") .required("required"), - cvv: Yup.number() + cvv: Yup.string() .min(3, "3 chars min.") .max(4, "4 chars max.") .required("required"), @@ -451,7 +451,7 @@ function AddFundDollars(props) { spanTag="*" iconName={cardIcons} label="CVV" - type="password" + type="text" name="cvv" placeholder="CVV" maxLength={3} @@ -484,7 +484,7 @@ function AddFundDollars(props) { fieldClass="px-6" spanTag="*" label="Postal Code" - type="text" + type="number" name="code" placeholder="Postal Code" value={props.values.code} @@ -502,7 +502,7 @@ function AddFundDollars(props) { type="text" name="state" placeholder="State" - value={props.values.state.toLocaleUpperCase} + value={props.values.state.toUpperCase()} inputHandler={props.handleChange} blurHandler={props.handleBlur} error={props.errors.state}