Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimePicker disappears with DateTimePicker #111

Open
WernerGo opened this issue Dec 22, 2023 · 2 comments
Open

TimePicker disappears with DateTimePicker #111

WernerGo opened this issue Dec 22, 2023 · 2 comments

Comments

@WernerGo
Copy link

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

  • No error on django console.
  • No error on JavaScript console.

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):

  • OS: MacBook Pro Sonoma 14.2
  • Browser [e.g. chrome, safari] safari and chrome
  • Browser version [e.g. 22]
  • Python version [e.g. 3.7] 3.10.2
  • Django version [e.g. 2.1] 5.0
  • Bootstrap version [e.g. 3/4] 5
  • jQuery version [e.g. 1.7.1] jQuery JavaScript Library v3.6.1

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

@monim67
Copy link
Owner

monim67 commented Dec 22, 2023

Related #96

@WernerGo
Copy link
Author

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

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>

and it now it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants