Monday, January 22, 2018

Re: modelform DateField rendering as text

Hi,

Do you mean that it should be rendered like:
<input type="date" …/>?

If so check that documentation page.
It is said that DateInput renders as type='text'.

If you are curios why it is done in that way, please ask at: django-developers@googlegroups.com

Regards,
Constantine C.

On Jan 22, 2018, at 10:33 AM, Ruchit Bhatt <ruchitinnewfushion@gmail.com> wrote:

forms.ModelForm

No comments:

Post a Comment