Skip to content

Datepicker inside modal #199

@lucascurti

Description

@lucascurti

I'm trying to use a Datepicker inside a Bootbox modal but the problem is that the datepicker won't show the calendar inside the modal, but it works outside.

Add

On the modal I'm loading the content of a hidden DIV using Bootbox:

$('.add_date_btn').on('click', function () {
bootbox.dialog({
message: $('#add_class_form').html(),
title: "Add Class",
buttons: {
cancelar: {
label: "Cancelar",
className: "btn-default"
}
}
});
}); //End click

A sample is here: http://jsfiddle.net/4EjSW/

On my site the DIV #add_class_form is set to "display:none" but on the sample code I left it there so anyone can confirm it's actually working when it's outside the modal.

Any idea how to fix this? It's really driving me crazy...

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions