Provide an options update API, to avoid destroying and re-initializing the plugin
See original GitHub issueIs there a method can update datepicker options, like this
$(dom).data('dateRangePicker').updateOptions({batchMode: 'month'})
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top Results From Across the Web
bootstrap multiselect(refresh) is not working properly
multiselect('refresh'); - Refreshs the multiselect based on the selected options of the select. $('Id').multiselect('destroy'); - Unbinds the whole plugin.
Read more >3. Warning: Cannot reinitialise DataTable
); The retrieve and destroy options are mutually exclusive and cannot be used together (doing so will result in undefined behaviour).
Read more >API | Chart.js
Use this to destroy any chart instances that are created. ... This will update all scales, legends, and then re-render the chart.
Read more >Troubleshooting CNI plugin-related errors - Kubernetes
To avoid CNI plugin-related errors, verify that you are using or ... or "Failed to destroy network for sandbox" errors, consider updating ......
Read more >Manage Resource Lifecycle | Terraform - HashiCorp Developer
Update your configuration with lifecycle management blocks to prevent resource deletion, create resources before destroying them, and ignore changes to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
An update method would be really better than destroy() and re-init.
There is not, but PRs are welcome!