daterangepicker icon indicating copy to clipboard operation
daterangepicker copied to clipboard

Add option of opening a fixed and embedded daterange-picker

Open MichaelKHTai opened this issue 5 years ago • 0 comments

First of all, I must admit it may violate the purpose of daterangepicker. This is because the daterangepicker will no longer be a dropdown, it won't close.

However the following small changes help me a lot while I was required to make a embedded daterangepicker, so I decide to share if someone needs.

Just test it by simply add fixedPicker: true in option, and provide a parentEl which allocate the fixed daterangepicker. You may need to change some style of parentEl, so as to make pretty print.

Bests.

MichaelKHTai avatar Oct 10 '18 08:10 MichaelKHTai