tamble / jquery-ui-daterangepicker

A JQuery UI based date range picker.
MIT License
184 stars 108 forks source link

Feature request: applyOnRangeSelect #12

Open ffuubarbuzz opened 9 years ago

ffuubarbuzz commented 9 years ago

It would be awesome to have such an option to auto-apply when user selects range manually. Also with this option enabled there is no need in drawing buttons 'Apply' and 'Cancel'.

op16 commented 9 years ago

We'll give it some thought over the next few days.

ianscarroll commented 9 years ago

+1

op16 commented 9 years ago

This feature will be implemented after the newly introduced Clear button can be placed separately, near the trigger button.

fqp commented 9 years ago

+1

avinashjoshi commented 9 years ago

+1 Though we would need the 'Apply' button for single date selection.

wellermiranda commented 8 years ago

+1

yuriclaure commented 8 years ago

+1

Asday commented 8 years ago

+1

necropsique commented 7 years ago

A temporary quick and dirty fix. Add this somewhere in the onSelectDay() function:

if(range.start && range.end) { $('.comiseo-daterangepicker-buttonpanel button:first-child').click(); }

then hide the Apply button via CSS.