diff options
author | Blaster4385 <venkateshchaturvedi12@gmail.com> | 2022-08-25 17:00:42 +0530 |
---|---|---|
committer | Blaster4385 <venkateshchaturvedi12@gmail.com> | 2022-08-25 17:00:42 +0530 |
commit | 8bb08d2b60b54da1b4a63195f20a8f11425304f6 (patch) | |
tree | c67e875297bcc2ebb43d52642e98f72b73056e5c /client | |
parent | 2d9100d3aa82d2901142464b7117c01cfbd6d04e (diff) |
Fix Date
Diffstat (limited to 'client')
-rw-r--r-- | client/src/pages/Enrollment/FormOne/FormOne.jsx | 5 | ||||
-rw-r--r-- | client/src/pages/Enrollment/FormOne/FormOne.module.css | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/client/src/pages/Enrollment/FormOne/FormOne.jsx b/client/src/pages/Enrollment/FormOne/FormOne.jsx index a1d4b7d..da05ed4 100644 --- a/client/src/pages/Enrollment/FormOne/FormOne.jsx +++ b/client/src/pages/Enrollment/FormOne/FormOne.jsx @@ -160,8 +160,7 @@ const FormOne = () => { <label htmlFor="dob">{t('DATE_OF_BIRTH')}</label> <LocalizationProvider dateAdapter={AdapterMoment}> <MobileDatePicker - label="Date mobile" - inputFormat="mm/dd/yyyy" + inputFormat="MM/DD/yyyy" value={userData.dob} onChange={(e) => { setUserData({ @@ -169,7 +168,7 @@ const FormOne = () => { dob: e }) }} - renderInput={(params) => <TextField {...params} />} + renderInput={(params) => <TextField sx={{ '& fieldset': { border: 'none' } }} className={styles.formone__dob_input} {...params} />} /> </LocalizationProvider> {/* <input diff --git a/client/src/pages/Enrollment/FormOne/FormOne.module.css b/client/src/pages/Enrollment/FormOne/FormOne.module.css index b83574a..ce49470 100644 --- a/client/src/pages/Enrollment/FormOne/FormOne.module.css +++ b/client/src/pages/Enrollment/FormOne/FormOne.module.css @@ -53,7 +53,7 @@ height: 80px; margin: 10px 0px; padding: 11px 10px; - border: 3px solid; + border: 3px solid !important; border-radius: 10px; font-size: 1.5rem; } |