Skip to content

Commit 05d46cb

Browse files
committed
use date and time picker in new event form
1 parent b422a86 commit 05d46cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/user/dashboard/news-feed/popups/AddEventModal.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const AddEventModal = (props) => {
103103
>
104104
<Form.Label className="modal__label">Date</Form.Label>
105105
<Form.Control
106-
type="text"
106+
type="date"
107107
placeholder="YYYY/MM/DD"
108108
onChange={onEventDate}
109109
/>
@@ -116,7 +116,7 @@ const AddEventModal = (props) => {
116116
>
117117
<Form.Label className="modal__label">Time</Form.Label>
118118
<Form.Control
119-
type="text"
119+
type="time"
120120
placeholder="10:00 AM"
121121
onChange={onEventTime}
122122
/>

0 commit comments

Comments
 (0)