How to disable a range of date in flask date picker | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to disable a range of date in flask date picker

How can we disable a specific range of dates on python flask and read the value to a variable

7th Nov 2019, 2:33 AM
Babith Ganesh
Babith Ganesh - avatar
1 Answer
+ 1
i got the solution :) The thing is that i am using flask to create a web page. Where i have to disable particular date on the datepicker. I have used <input type="date" max="date limit" name="mydate"> and from flask i have used request.form["mydate"] to get date which is selected. Mirielle🐶 [Inactive] thanks for try to help me
7th Nov 2019, 7:15 AM
Babith Ganesh
Babith Ganesh - avatar