django-bootstrap-datepicker-plus icon indicating copy to clipboard operation
django-bootstrap-datepicker-plus copied to clipboard

widget breaks submit button

Open dchallsworth opened this issue 6 years ago • 1 comments

Hi - not sure if this is an issue or not - probably my implemenation (I'm a beginner).

When I include the widget in my forms.py the submit button on my template no longer works - works fine when I remove datetimepicker. I wondered if there's a clash with the javascript somewhere? Could you take a look? I've added you as a colab for the project

Also, is there any way of making todays date autopopulate the field?

Thank you - it's a great app

David

dchallsworth avatar Nov 10 '19 01:11 dchallsworth

Hey

First problem was just that the default date for django was different to the formatted date for datepicker

Still can’t get a default though.

Thanks

David

dchallsworth avatar Nov 10 '19 12:11 dchallsworth

There's a defaultDate option which can be used to set the dates to today.

monim67 avatar Nov 27 '22 11:11 monim67