Changelog
March 14, 2025 ยท View on GitHub
12.0.0
- Revert PR #286 #287
11.0.5
- Export types, #287
11.0.4
- Fix issue, #283
11.0.3
- Fix SSR issue, #277
11.0.0
- Rewrite to Typescript
10.0.0
- Remove plugin usage
- Change export names for browser bundle
- Check Upgrade Guide for more
9.0.8
- Add type definition
- Allow to run with
@vue/compat
9.0.6
- Fix: Possible
undefinederror, #254
9.0.5
- Fix: #238
9.0.4
- Fix: #224
9.0.3
- Fix #209
9.0.0
- Drop support for Vue v2.x and add support for Vue v3.x
- Drop IE 11 support
8.1.6
- Fix: #196
8.1.5
- Fix: #165
8.1.4
- Fix: #160
8.1.3
- Fix: #132
8.1.2
- Fix: #135
- Initial
disabledprop value was not reflecting on input element
- Initial
8.1.1
- Fix: #126
disabledprop default value should befalseto make vee-validate work
8.1.0
- Add: optional
disabledprop, see #124 and #117- Note: the
disabledprop accepts only Boolean values
- Note: the
- Change: use render function instead of template to reduce build size
- Chore: Babel 7
8.0.0
7.0.6
- Fix:
blurevent whenaltInputis true, #102
7.0.5
- Add:
blurevent, #102
7.0.4
- Fix: umd build in webpack v4, #89
7.0.3
- Re-release v7.0.2, npm malfunction during publish, #87
- Chore: update webpack to v4.x
7.0.2
- Fix: Allow to update
localedynamically, fixes #77
7.0.1
- Fix: Don't mutate
configobject, fixes #74 - Fix: Delete all event callbacks before passing them to flatpickr in config watcher
7.0.0
- Change: Limit the default events to be
emitted, read more
, #53
- You can restore the old behaviour by using
eventsprops
- You can restore the old behaviour by using
6.2.0
- Change: Don't emit
on-changeon component mount - Add:
on-pre-calendar-positionevent
6.1.0
- Add:
eventsprops to customise the emitted events, closes #53<flatpickr v-model="date" :events="['onChange']">eventsprop is optional and component emits all events when prop is not specified.
6.0.0
- Add: emit all events, fixes #37
- Fix: dynamically change configs, closes #20
- Change: export name, default export remains same
5.0.5
- Internal: Remove the need of
Object.assign
5.0.4
- Revert the changes made in v5.0.3
5.0.3
- Fix: a bug where changes in
configobject properties were not being detected
5.0.2
5.0.1
- Fix: Don't update DOM when
allowInputis set to true in config
5.0.0 (breaking)
- Change:
input-classprop has been removed, you can always use Vue.js inbuilt class binding
<flat-pickr v-model="date" class="form-control input"></flat-pickr>- Similarly
name,id,placeholderandrequiredprops has been removed, you can still specify any number of attributes on component
<flat-pickr v-model="date" name="date-of-birth" id="js-date" placeholder="Select date" aria-required="true"></flat-pickr>- Non module environment usage, no longer required to call
.default
Vue.component('flat-pickr', VueFlatpickr); - Add:
- Allow timestamps as value
4.0.0 (breaking)
- Change:
- Upgrade to flatpickr v4.x
- Change
onChangeevent name toon-change
- Fix:
- v-model validator method typo
- IE11 support
- tests: add test case with coverage
- chore:
distfolder is no longer a part of repo, it will be published on npm only. It means bower no longer supported.
3.1.3
- Fix: value prop validation
3.1.2
- Fix: Prevent multiple
onChangeevent after component destroy, #27
3.1.1
- Fix: Prevent
onChangeevent being emitted twice
3.1.0
- Add: Emit
onChangeevent, #20
3.0.0 (Breaking)
- Change:
flatPicker.vuefile name tocomponent.vue- This will be breaking for users who were directly importing
.vuefile
- This will be breaking for users who were directly importing
- Change: Don't force
form-controlCSS class on input field, #18- If you wants to add a new class on input, you need to do like this
<flatpickr input-class="form-control custom-css-class">:classprop will replace default CSS class on input field
- Add: Ability to pass component name when used as plugin
Vue.use(flatPickr,'date-picker')- You can pass name as second parameter
- Chore: Upgrade to webpack v3.x
2.4.0
- Fix UglifyJS issue
2.3.0
- New way to use as plugin, old one is deprecated, see
new example
- You should NOT import plugin like this
import {flatPickrPlugin} from 'vue-flatpickr-component';
- Add
idprop
2.2.0
- Rollback importing css, component is no longer importing any css
- This also applies when using this package as plugin
Vue.use()
- This also applies when using this package as plugin
2.1.0
- Expose
installmethod, so that now you can use this package as a plugin
2.0.0 (breaking)
- Rename
input-nameprop toname - No longer support flatpickr v2.x, always pull v3.x
- No longer importing flatpickr css, you need to import css by yourself, see examples
1.2.4
- Improve value prop validation
1.2.3
- Add value prop validation
1.2.0
- Allow flatPickr v3.x stable
- Rename
instancetofp, if you were accessing it through$refsthis may be a breaking change for you
1.1.3
- Regenerate build files
1.1.2
- Allow array of objects and date object as default value
1.1.0
- Make
wrapoptional - From now, you need to wrap by your-self and pass
config.wrapas true - No longer force bootstrap, you are free to use any of CSS framework
1.0.0
- Initial release