Merge pull request #18 from Blaster4385/develop

date picker fix
This commit is contained in:
Rohan Raj Gupta 2022-08-25 23:18:37 +05:30 committed by GitHub
commit 53cbdd3243
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -165,6 +165,7 @@ const FormOne = () => {
<MobileDatePicker
inputFormat="MM/DD/yyyy"
value={userData.dob}
showToolbar={false}
onChange={(e) => {
setUserData({
...userData,
@ -172,7 +173,7 @@ const FormOne = () => {
})
}}
renderInput={(params) => <TextField
placeholder="MM/DD/yyyy" sx={{
placeholder="MM/DD/YYYY" sx={{
'& fieldset': {
width: '500px',
height: '80px',

View file

@ -105,6 +105,7 @@ const FormOne = () => {
value={userData.dob}
className={styles.dob}
disabled={editable}
showToolbar={false}
onChange={(e) => {
setUserData({
...userData,