summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRohan Raj Gupta <78433013+rohan09-raj@users.noreply.github.com>2022-08-25 23:18:37 +0530
committerGitHub <noreply@github.com>2022-08-25 23:18:37 +0530
commit53cbdd324347e721ced8e69e1907b352dffc2e37 (patch)
treefc9b0c4d6c706ef44ca2fffbd9b3c19d01caa6c5 /client
parentea69028b911bb28d6c3f6f9f9b50d1c18bee55da (diff)
parent6f9f9f4c8c19f62e92fbc4d7932dffd89683ee5f (diff)
Merge pull request #18 from Blaster4385/develop
date picker fix
Diffstat (limited to 'client')
-rw-r--r--client/src/pages/Enrollment/FormOne/FormOne.jsx3
-rw-r--r--client/src/pages/Update/FormOne/FormOne.jsx1
2 files changed, 3 insertions, 1 deletions
diff --git a/client/src/pages/Enrollment/FormOne/FormOne.jsx b/client/src/pages/Enrollment/FormOne/FormOne.jsx
index 903bd15..abd52e9 100644
--- a/client/src/pages/Enrollment/FormOne/FormOne.jsx
+++ b/client/src/pages/Enrollment/FormOne/FormOne.jsx
@@ -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',
diff --git a/client/src/pages/Update/FormOne/FormOne.jsx b/client/src/pages/Update/FormOne/FormOne.jsx
index 1a783dd..c1786fc 100644
--- a/client/src/pages/Update/FormOne/FormOne.jsx
+++ b/client/src/pages/Update/FormOne/FormOne.jsx
@@ -105,6 +105,7 @@ const FormOne = () => {
value={userData.dob}
className={styles.dob}
disabled={editable}
+ showToolbar={false}
onChange={(e) => {
setUserData({
...userData,