more
This commit is contained in:
@@ -112,7 +112,7 @@ const PaymentModal = ({
|
|||||||
{names.map((name, i) => (
|
{names.map((name, i) => (
|
||||||
<Col
|
<Col
|
||||||
key={`${name}${i + fieldsChunkSize * j}-modal`}
|
key={`${name}${i + fieldsChunkSize * j}-modal`}
|
||||||
className="mb-3"
|
className={j === 2 ? "mb3 short-column" : "mb-3"}
|
||||||
>
|
>
|
||||||
<TextInput
|
<TextInput
|
||||||
key={`${name}-modal-input`}
|
key={`${name}-modal-input`}
|
||||||
@@ -129,6 +129,13 @@ const PaymentModal = ({
|
|||||||
type={paymentfields[name].type}
|
type={paymentfields[name].type}
|
||||||
values={paymentfields[name].values}
|
values={paymentfields[name].values}
|
||||||
disabled={isBusy}
|
disabled={isBusy}
|
||||||
|
inputClassName={
|
||||||
|
j === 2
|
||||||
|
? "skinny-input"
|
||||||
|
: j === 1 && i === 1
|
||||||
|
? "skinny-input"
|
||||||
|
: null
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</Col>
|
</Col>
|
||||||
))}
|
))}
|
||||||
|
|||||||
@@ -217,14 +217,14 @@ const SignupPage = () => {
|
|||||||
if (isBusy) {
|
if (isBusy) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
const dataValues = validateUserData();
|
const dataValues = validateUserData();
|
||||||
if (dataValues === null) {
|
if (dataValues === null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
saveLeadData(dataValues);
|
saveLeadData(dataValues);
|
||||||
|
*/
|
||||||
setShowSelectPlan(!showSelectPlan);
|
setShowSelectPlan(!showSelectPlan);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -19,19 +19,19 @@ export const paymentfields = {
|
|||||||
},
|
},
|
||||||
cardCvvCode: {
|
cardCvvCode: {
|
||||||
required: true,
|
required: true,
|
||||||
label: "Card CVV Number",
|
label: "CVV Number",
|
||||||
maxLength: 5,
|
maxLength: 5,
|
||||||
type: "cardCvvCode",
|
type: "cardCvvCode",
|
||||||
},
|
},
|
||||||
cardExpirationMonth: {
|
cardExpirationMonth: {
|
||||||
required: true,
|
required: true,
|
||||||
label: "Card Expiration Month",
|
label: "Month",
|
||||||
maxLength: 2,
|
maxLength: 2,
|
||||||
type: "cardExpirationMonth",
|
type: "cardExpirationMonth",
|
||||||
},
|
},
|
||||||
cardExpirationYear: {
|
cardExpirationYear: {
|
||||||
required: true,
|
required: true,
|
||||||
label: "Card Expiration Year",
|
label: "Year",
|
||||||
maxLength: 4,
|
maxLength: 4,
|
||||||
type: "cardExpirationYear",
|
type: "cardExpirationYear",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -15,9 +15,15 @@ const TextInput = (props) => {
|
|||||||
type,
|
type,
|
||||||
disabled,
|
disabled,
|
||||||
} = props;
|
} = props;
|
||||||
|
console.log("inputClassName", inputClassName);
|
||||||
return (
|
return (
|
||||||
<div className="pe-input-container form-floating mb-3">
|
<div
|
||||||
|
className={
|
||||||
|
inputClassName
|
||||||
|
? `pe-input-container form-floating mb-3 ${inputClassName}`
|
||||||
|
: "pe-input-container form-floating mb-3"
|
||||||
|
}
|
||||||
|
>
|
||||||
{label ? (
|
{label ? (
|
||||||
<label htmlFor="signup" className="form-label">
|
<label htmlFor="signup" className="form-label">
|
||||||
{label}
|
{label}
|
||||||
|
|||||||
@@ -84,6 +84,8 @@
|
|||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
|
padding-bottom: 8px;
|
||||||
|
margin-bottom: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.paymentmodal-order-summarybox {
|
.paymentmodal-order-summarybox {
|
||||||
@@ -113,3 +115,9 @@
|
|||||||
border-bottom: 1px solid #cecece;
|
border-bottom: 1px solid #cecece;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.short-column {
|
||||||
|
max-width: 120px !important;
|
||||||
|
margin-right: 1.4rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|||||||
@@ -11,3 +11,11 @@
|
|||||||
.select-option:hover {
|
.select-option:hover {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.skinny-input {
|
||||||
|
width: 120px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skinny-column {
|
||||||
|
width: 120px !important;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user