Closed write4alive closed 5 years ago
Cannot reproduce the error, does calendar work as expected even if there's error in console?
first time I open it there's an error but when I close modal and open again theres no new error and calander works fine with no problem.
First time run , console error ;
Is your problem resolved? If yes, can you post what was the issue?
I call modal page with generated form objects but the problem is about loading of needed js and css file order. I manually add js and css files to my master template and it solves the problem. Modal Form requires needed files before generating form fields.
I call modal page with generated form objects but the problem is about loading of needed js and css file order. I manually add js and css files to my master template and it solves the problem. Modal Form requires needed files before generating form fields.
Can you elaborate on this? I’m running into the same issue. I have a base.html with all JS and CSS, and a page with modal page that extends base.html.
Thank you in advance!
When I run my app there's no error, but when I press button to open form with modal it opens and I get an error
Uncaught TypeError: $element.datetimepicker is not a function
, then I close modal and open it again now there's no error and its running, I can choose date and time too with no problem, I can use datetime picker. I should able to pick date time, anytime I open that modal.I dont have any error on my Django console, I got a JS error in browser console:
settings.py
view.py
forms.py
list.html
list_partial_form
list_partial_create.html
ltebase.html: JS library order:
Setup Information
[x] I have followed the configuration instructions and checked out the common error troubleshooting page.