Open kvkv opened 6 years ago
hello, this worked for me very well, just change the template.
//create the picker HTML object var DRPTemplate = '<div class="daterangepicker dropdown-menu">' + '<div class="calendar first left"></div>' + '<div class="calendar second right"></div>' + '<div class="ranges">' + '<div class="range_inputs">' + '<div class="daterangepicker_start_input">' + '<label for="daterangepicker_start"></label>' + '<input class="input-mini" type="text" name="daterangepicker_start" value="" />' + '</div>' + '<div class="daterangepicker_end_input">' + '<label for="daterangepicker_end"></label>' + '<input class="input-mini" type="text" name="daterangepicker_end" value="" />' + '</div>' + '<button class="applyBtn" disabled="disabled"></button> ' + '<button class="cancelBtn"></button>' + '</div>' + '</div>' + '</div>';
to
//create the picker HTML object var DRPTemplate = '<div class="daterangepicker">' + '<div class="calendar first left"></div>' + '<div class="calendar second right"></div>' + '<div class="ranges">' + '<div class="range_inputs">' + '<div class="daterangepicker_start_input">' + '<label for="daterangepicker_start"></label>' + '<input class="input-mini" type="text" name="daterangepicker_start" value="" />' + '</div>' + '<div class="daterangepicker_end_input">' + '<label for="daterangepicker_end"></label>' + '<input class="input-mini" type="text" name="daterangepicker_end" value="" />' + '</div>' + '<button class="applyBtn" disabled="disabled"></button> ' + '<button class="cancelBtn"></button>' + '</div>' + '</div>' + '</div>';
hello, this worked for me very well, just change the template.
//create the picker HTML object var DRPTemplate = '<div class="daterangepicker dropdown-menu">' + '<div class="calendar first left"></div>' + '<div class="calendar second right"></div>' + '<div class="ranges">' + '<div class="range_inputs">' + '<div class="daterangepicker_start_input">' + '<label for="daterangepicker_start"></label>' + '<input class="input-mini" type="text" name="daterangepicker_start" value="" />' + '</div>' + '<div class="daterangepicker_end_input">' + '<label for="daterangepicker_end"></label>' + '<input class="input-mini" type="text" name="daterangepicker_end" value="" />' + '</div>' + '<button class="applyBtn" disabled="disabled"></button> ' + '<button class="cancelBtn"></button>' + '</div>' + '</div>' + '</div>';
to
//create the picker HTML object var DRPTemplate = '<div class="daterangepicker">' + '<div class="calendar first left"></div>' + '<div class="calendar second right"></div>' + '<div class="ranges">' + '<div class="range_inputs">' + '<div class="daterangepicker_start_input">' + '<label for="daterangepicker_start"></label>' + '<input class="input-mini" type="text" name="daterangepicker_start" value="" />' + '</div>' + '<div class="daterangepicker_end_input">' + '<label for="daterangepicker_end"></label>' + '<input class="input-mini" type="text" name="daterangepicker_end" value="" />' + '</div>' + '<button class="applyBtn" disabled="disabled"></button> ' + '<button class="cancelBtn"></button>' + '</div>' + '</div>' + '</div>';