dangrossman/bootstrap-daterangepicker — pull request #448 by guavatak (2014-09-12 07:01:12+00:00)
Title: add a eventTrigger option

Want to separate button from textbox, and don't trigger "calendar div" when click textbox.

ex) button is to trigger calendar and allow user to type in textbox with inputmask.

$('#search_period').daterangepicker({
timePicker: true,
timePickerIncrement: 1,
timePicker12Hour:false,
format: 'YYYY.MM.DD HH:mm',
eventTrigger: 'div.period-btn'
}
);

$('#search_period').inputmask(
{
mask: "y.1.2 h:s:s - y.1.2 h:s:s",
placeholder: "yyyy.MM.dd HH:mm - yyyy.MM.dd HH:mm",
leapday: ".02.29",
separator: '.',
alias: "yyyy/mm/dd"
}
);