- Final version
- Same as previous beta version but without
beta
dist tag
- Change export names
- Upgrade to bootstrap-4
- Switch underlying library to pc-bootstrap4-datetimepicker
- Update dependencies
- Update dependencies
- Internal: no longer require to use
Object.assign
- Fix: a bug where changes in
config
properties were not being detected
- Add: Support for inline mode
4.0.0 (breaking)
- Change:
- Component now sets the v-model value in same format as specified in config, previously it was moment string
2017-10-02T06:14:35.665Z
but now it should follow the format; for example if format isDD/MM/YYYY
then v-model will be like22/10/2017
input-class
prop has been removed, you can always use Vue.js inbuilt class binding
<date-picker v-model="date" class="custom-input"></date-picker>
- Similarly
name
,id
,placeholder
andrequired
props has been removed, you can still specify any number of attributes on component
<date-picker v-model="date" name="date-of-birth" id="js-date" placeholder="Select date" aria-required="true"></date-picker>
- Component now sets the v-model value in same format as specified in config, previously it was moment string
- Revert: prevent double
dp-change
event- This was preventing date-picker to update DOM
- Fix: use as plugin
- Chore: generate two dist file.
- Change:
dist
folder is no longer part of repo. it means bower no longer supported.
- Fix: prevent double
dp-change
event
- Add: Emit all available events
- You can receive the events like this
<date-picker v-model="date" @dp-hide="onHide"></date-picker>
- Change:
DatetimePicker.vue
file name tocomponent.vue
- This may be breaking for users who were directly importing
.vue
file
- This may be breaking for users who were directly importing
- Add: Ability to pass component name when used a plugin
- Fix: Handle
false
value and convert them tonull
, #4
- Fix: stopped working in non module environment, #1
- Fix: set
dp
tonull
upon destroy
- Fix: UglifyJS issue
- New way to use as plugin, old is deprecated, see updated example
- Add
id
prop
- 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
- Expose
install
method, so that now you can use this package as a plugin
2.0.0 (breaking)
- Rename
input-name
prop toname
- Add validation on
value
prop
- Reactive configs
- Specify
eonasdan-bootstrap-datetimepicker
asdependency
rather thanpeerDependencies
- Initial release