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

bootstrap-datetimepicker-widget not loading on popup window #114

Open
ssahay1 opened this issue Mar 27, 2019 · 1 comment
Open

bootstrap-datetimepicker-widget not loading on popup window #114

ssahay1 opened this issue Mar 27, 2019 · 1 comment

Comments

@ssahay1
Copy link

ssahay1 commented Mar 27, 2019

Hi Team,

I am trying to integrate eonasdan datetime picker by downloading as "bower install eonasdan-bootstrap-datetimepicker#latest --save" which installed with ver 4.17.47, referring http://eonasdan.github.io/bootstrap-datetimepicker/

It is working perfectly on all pages except on modal pop-up. There are no issue on browser console, You can see in below console image that bootstrap-datetimepicker-widget is not loaded -

image

Following is the code -
html :
Script : $('#dateTimePicker0').datetimepicker();

Any suggestions please ?

I am using all necessary libraries as it is working fine on other pages of my application.

@ssahay1
Copy link
Author

ssahay1 commented Mar 28, 2019

Following is the solution which I applied -

The datetimepicker was not loading correctly at the modal popup which pops out as a separate window, So I added following jquery load function to make it work.

$(function(){ $('#datetimepicker8').datetimepicker(); });

Thanks.

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

1 participant