wakirin / Litepicker

Date range picker - lightweight, no dependencies
MIT License
898 stars 132 forks source link

Reconfiguration or set new options #321

Open nmocruz opened 1 year ago

nmocruz commented 1 year ago

When integrating with other js libraries, certain options like ranges or daylocks, etc can be loaded asynchronously, or changed depending on user actions.

There's no way to load new options and reconfigure the picker and plugins

We need a way to reload options

I have tried to destroy and initially, the plugin when certain options change but is maybe not the best to destroy and re-initialize all plugin