Fix Date
This commit is contained in:
parent
2d9100d3aa
commit
8bb08d2b60
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue