Advertisements

Archive

Posts Tagged ‘bootstrap dropdown’

AngularJS: Bootstrap Datepicker not working inside bootstrap modal Issue

November 17, 2015 Leave a comment

Issue :

The datepicker is working fine in all pages but when we add it inside a bootstrap modal (link below) it stop working.

Bootstrap Modal:

http://getbootstrap.com/2.3.2/javascript.html#modals

Same code is working in normal html files like below

http://jsfiddle.net/rahuladmin/6f4a6097/2/

 

Solution:

You need to call datepicker() in Modal itself like below:

datepickerInModal

 

Hope it helps

Advertisements

AngularJS – Programmatic access for select dropdown


Set value of select dropdown in AngularJS

http://jsfiddle.net/rahuladmin/khnfvrpq/