Skip to content

Commit

Permalink
refactor: input type="date"의 min 프로퍼티로 시작일 이전의 종료일이 입력되는 경우 방지
Browse files Browse the repository at this point in the history
  • Loading branch information
suyoungj committed Jul 27, 2023
1 parent e2a3e3a commit dde0a66
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const ScheduleAddModal = (props: ScheduleAddModalProps) => {
css={S.dateTimeLocalInput}
name="endDateTime"
value={schedule['endDateTime']}
min={schedule['startDateTime']}
onChange={handleScheduleChange}
required
/>
Expand Down

0 comments on commit dde0a66

Please sign in to comment.