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