more
This commit is contained in:
@@ -397,7 +397,7 @@ const SignupPage = () => {
|
|||||||
disabled={isBusy}
|
disabled={isBusy}
|
||||||
dynamicClassName={"signup-option-div"}
|
dynamicClassName={"signup-option-div"}
|
||||||
optionContainerDynamicClass={"signup-option"}
|
optionContainerDynamicClass={"signup-option"}
|
||||||
onClick={(e) => handleChangeRadioInput(e, "clientPosition")}
|
onClick={handleChangeRadioInput}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -84,6 +84,11 @@ export const getValidatedFormData = (data, fields) =>
|
|||||||
}, data);
|
}, data);
|
||||||
|
|
||||||
export const handleFormDataChange = (e, name, data, fields) => {
|
export const handleFormDataChange = (e, name, data, fields) => {
|
||||||
|
console.log("fields", fields);
|
||||||
|
if (!fields) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const value =
|
const value =
|
||||||
(typeof e?.target?.value === "undefined" ? e.value : e.target.value) || "";
|
(typeof e?.target?.value === "undefined" ? e.value : e.target.value) || "";
|
||||||
const field = fields[name];
|
const field = fields[name];
|
||||||
|
|||||||
@@ -121,5 +121,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.signup-option {
|
.signup-option {
|
||||||
width: 200px !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user