diff --git a/src/Components/SignupPage/SignupPage.js b/src/Components/SignupPage/SignupPage.js index c3a5a98..f0cf2d1 100644 --- a/src/Components/SignupPage/SignupPage.js +++ b/src/Components/SignupPage/SignupPage.js @@ -397,7 +397,7 @@ const SignupPage = () => { disabled={isBusy} dynamicClassName={"signup-option-div"} optionContainerDynamicClass={"signup-option"} - onClick={(e) => handleChangeRadioInput(e, "clientPosition")} + onClick={handleChangeRadioInput} /> diff --git a/src/Utils/Form.js b/src/Utils/Form.js index 3e44f77..8570c49 100644 --- a/src/Utils/Form.js +++ b/src/Utils/Form.js @@ -84,6 +84,11 @@ export const getValidatedFormData = (data, fields) => }, data); export const handleFormDataChange = (e, name, data, fields) => { + console.log("fields", fields); + if (!fields) { + return; + } + const value = (typeof e?.target?.value === "undefined" ? e.value : e.target.value) || ""; const field = fields[name]; diff --git a/src/styles/signup.scss b/src/styles/signup.scss index 0085e41..ecb257a 100644 --- a/src/styles/signup.scss +++ b/src/styles/signup.scss @@ -121,5 +121,5 @@ } .signup-option { - width: 200px !important; + width: 100% !important; }