fragaria / angular-daterangepicker

Angular.js wrapper for dangrossman/bootstrap-daterangepicker
MIT License
519 stars 372 forks source link

how to solve this problem? #263

Closed costel-petrescu closed 5 years ago

costel-petrescu commented 7 years ago

Hi. I've a question. There are four pages that be connected to each other and there are date-range-pickers on each pages. when i change the period of it on first page, how can i do to show the same periods on other pages?

Thanks.

droyson commented 7 years ago

If you have a common controller for all four pages, then you can just initialize same date object in common controller for all four pages.

costel-petrescu commented 7 years ago

of course, I've defined a common controller for all pages. The problem is that when i change the period of one date-range-picker, the change is shown in the calendar, but it's not displayed in a input-box. what's the reason?

droyson commented 7 years ago

Could you share the code or an example.