Datetimeinput Is Being Rendered As Simple Text Input In Django January 29, 2024 Post a Comment I have tried to take date time input from the user but data type of date input is being set as type='text' following are the code snippets: template: ]) CopyDo:stayFrom = forms.CharField(widget=forms.TextInput(attrs={'type':'date'})) Copy Share You may like these postsDjango-html: How Can I Allow Users To Add Additional Input Fields (ensuring They Are Not Required)? Something Like A + ButtonMany Facebook Share Buttons In The Same Page?Is There A Shortcut For Html Blocks {%%} In Pycharm?Python - Reading Checkboxes Post a Comment for "Datetimeinput Is Being Rendered As Simple Text Input In Django"
Post a Comment for "Datetimeinput Is Being Rendered As Simple Text Input In Django"