tamble / jquery-ui-daterangepicker

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

Refresh widget on setRange #69

Open laneli opened 7 years ago

laneli commented 7 years ago

The widget is not refreshed when setRange is called. In the method the refresh() is not called. It only can be achieved by closing and opening the widget. Is there another way to refresh the widget out of the box?

op16 commented 7 years ago

I can't reproduce this issue. Are you using the latest version, 0.5.0?

laneli commented 7 years ago

Yes I'm using version 0.5.0 Can you give me some example code to make the refresh?

op16 commented 7 years ago

The refresh happens automatically. What makes you think it doesn't? refresh() is called on the calendar by setRange.