Open webassic opened 7 years ago
This is not supported for now.
The left side panel is a jQueryUI menu widget. Note that by default a menu item it's in active state only during hover. So you would need to bind to the menu's select event. This needs changing the function usePreset(event)
. But I also see potential issues after the daterangepicker is refreshed. The state should also be reset when the user chooses a custom range.
How can i add active class on select a range ? on left side panel want to add "active" class on click it.