Comments (1)
There's now a reset
method which achieves what you want. Here's a working example:
const picker = datepicker('#some-id');
// When you want to reset the calendar...
picker.reset();
Thanks for the suggestion.
from datepicker.
Related Issues (20)
- Issue on Safari v14.0.3
- `Could not find a declaration file for module 'js-datepicker'.` HOT 2
- when in `daterange` mode the 2nd calendar always resets to the month of the 1st one
- Does not work in Bootstrap modal
- Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0 HOT 1
- Disabled property does not work HOT 3
- SassError: Invalid CSS... build failing because of error in dependency HOT 3
- Datepicker localization HOT 5
- Can I customize year number on calendar picker? HOT 3
- Strange bug with Angular when re-setting minDate, any tips? HOT 3
- Not Work "npm i --save-dev @types/js-datepicker" HOT 1
- can't access property "contains" HOT 1
- Allow setMin() to adjust dateSelected when the current value is earlier than the new mininum
- Do not show dates that are out of range
- Can't set specific overrides
- Locations, translate
- DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
- possible to enable dates in the past?
- x
- problem displaying the datepicker with option 'c' (centered).
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datepicker.