DateField and TimeField type mismatch
Expected behaviour
While selecting the DateField to show on the form, the input type should be type=date
While selecting the TimeField to show on the form, the input type should be type=time
Actual behaviour
While selecting the DateField to show on the form, the input type should be type=text
While selecting the TimeField to show on the form, the input type should be type=text
Steps to reproduce the behaviour
Create a form and put as a field DateField or TimeField
Hi @bennyx93
Thanks for the report, we just initially aimed to provide what Django does out of the box. While they are def better being type date and time they wont work on all browsers. So would still require overriding totally with a Datepicker or something, if this is a requirement.
We were probably better not adding them in the first place as we can't use them either way :)
Will get them changed as soon as I get a chance.
Ty Stu