longbill / jquery-date-range-picker

A jQuery plugin that allows user to select a date range
MIT License
1.12k stars 579 forks source link

set start date based on condition with one date picker #349

Open jpsiet opened 7 years ago

jpsiet commented 7 years ago

Hi,

I have drop down which have some values... so Based on that drop down value I want to change the end Date for date range picker.. ( for user allow to max date).

Like when I select from Drop down A then user can select max 5 days from todays date. and When i select B from drop down .. user can select max 10 days from drop down. I don't want to create multiple date picker.. want to use only single instance and config object..