monim67 / django-bootstrap-datepicker-plus

Bootstrap3/Bootstrap4/Bootstrap5 DatePickerInput, TimePickerInput, DateTimePickerInput, MonthPickerInput, YearPickerInput with date-range-picker functionality for django >= 2.0
https://pypi.python.org/pypi/django-bootstrap-datepicker-plus
MIT License
223 stars 63 forks source link

TimePicker disappears with DateTimePicker #111

Open WernerGo opened 11 months ago

WernerGo commented 11 months ago

Describe the problem When using DateTimePicker, DatePicker is displayed and works but the TimePicker part only appears very briefly and then disappears. The time can then only be set in the text part. TimePicker can only be selected again when DateTimePicker is closed and reopened. I have another application using Django 4.1.2 with a bootstrap5 theme and the same jQuery local lib and here everything is fine.

To Reproduce I have installed django5 and a bootstrap5 theme, locally I installed jQuery Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior DatePicker and TimePicker should be able to be used simultaneously as DateTimePicker

Console errors

Paste-bin The page is showing up but the date-picker calendar is not. The paste-bin link of the HTML source of the page is http://...

Setup Information (please complete the following information):

[x] I have followed the configuration instructions and checked out the common error troubleshooting page.

monim67 commented 11 months ago

Related #96

WernerGo commented 11 months ago

It is similar to #96 not exact the same. I tried it now with yQuery v3.7.1:

and it now it works