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

Change trigger is not triggered when using keyboard and tabbing on single date #370

Open mofman opened 6 years ago

mofman commented 6 years ago

Setting option singleDate = true then opening date picker, typing any number, then tabbing out of the field does not trigger datepicker-change

I dropped 'initiated &&' in showSelectedInfo() and this provides a temporairy fix

holtkamp commented 6 years ago

And when singleDate = false this does "work"?

Can you provide a demo of this scenario, for example on www.jsfiddle.net, especially the typing any number part.

In the "Single Date mode" example on http://longbill.github.io/jquery-date-range-picker/ it does seem to work?