more
This commit is contained in:
@@ -154,7 +154,11 @@ const SignupPage = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const handleChangeRadioInput = (e, name) => {
|
const handleChangeRadioInput = (e, name) => {
|
||||||
console.log("e, name", e, name);
|
console.log("name", name.label);
|
||||||
|
return;
|
||||||
|
if (!name) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const newData = handleFormDataChange(e, name, data, signupRadioFields);
|
const newData = handleFormDataChange(e, name, data, signupRadioFields);
|
||||||
if (newData !== null) {
|
if (newData !== null) {
|
||||||
setData(newData);
|
setData(newData);
|
||||||
@@ -261,7 +265,7 @@ const SignupPage = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setIsBusy(true);
|
setIsBusy(true);
|
||||||
console.log("paymentDataValues, dataValues", paymentDataValues, dataValues);
|
|
||||||
if (paymentDataValues && dataValues) {
|
if (paymentDataValues && dataValues) {
|
||||||
try {
|
try {
|
||||||
const userCredential = await createUserWithEmailAndPassword(
|
const userCredential = await createUserWithEmailAndPassword(
|
||||||
@@ -403,11 +407,11 @@ const SignupPage = () => {
|
|||||||
{signupRadioFields?.map((group, i) => (
|
{signupRadioFields?.map((group, i) => (
|
||||||
<div className="signup-radio-wrapper">
|
<div className="signup-radio-wrapper">
|
||||||
<Radiogroup
|
<Radiogroup
|
||||||
title="Client position"
|
title=""
|
||||||
options={group}
|
options={group}
|
||||||
value={group[i].value}
|
value={group[i].value}
|
||||||
disabled={isBusy}
|
disabled={isBusy}
|
||||||
onClick={(e) => handleChangeRadioInput(e, group[i].name)}
|
onClick={(e) => handleChangeRadioInput(e, group[i])}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user