Datepicker inside Bootstrap modal

You may have noticed that when putting a datepicker inside a bootstrap model, it doesn’t show up.

It’s due to the modal’s z-index, set to 1050, much higher than the datepicker’s. just drop this css rule in your css file:

.datepicker {
z-index:1051 !important;


2 thoughts on “Datepicker inside Bootstrap modal

Leave a Reply

Your email address will not be published. Required fields are marked *