Skip to content

Commit 0b72dc2

Browse files
committed
Add maximum date in due date input field
1 parent 607c1af commit 0b72dc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ <h1>Endless Task List App using Flask</h1>
3838
id="due_date"
3939
name="due_date"
4040
min="{{ today }}"
41+
max="9999-12-31"
4142
required
4243
/><br />
4344
<input type="submit" value="Add Task" />

0 commit comments

Comments
 (0)