v1.0.0
Breaking Changes
v1.0.0+
is different from the v0.x
versions.
From v1.0.0+
, CSS is excluded from the main source. Please import the CSS file separately.
// v1.0.0+
//
import VueTimepicker from 'vue2-timepicker'
// -> Imports JS file in UMD form
// CSS
import 'vue2-timepicker/dist/VueTimepicker.css'
Comparing to:
// While in the v0.x versions
import VueTimepicker from 'vue2-timepicker'
// -> Imports the *.vue Single File Component together with CSS
Please check the Documentation for more available import formats.
New
- Support using String value in
v-model
. (#58) - New
minute-range
andsecond-range
support. Companioned withhide-disabled-minutes
andhide-disabled-seconds
. (#64) - New
hide-disabled-items
property for hiding all excluded items (hour, minute and seconds) at a time. - New
close-on-complete
for automatically close the dropdown when the user finishes selecting all of the required fields. (#53) - Added
advanced-keyboard
support for Arrow Keys navigation and Space/Enter key selection. (#49) - New
tabindex
property support, which will be assigned to the<input type="text">
within the component. - Added
debug-mode
to help developers investigating the input -> output process.
Fixes
Added ES "module" and other version fields in package.json to resolving more loader issues. (#71, Thanks to @Trainmaster)
Improvements
When hour-range
is set in a 12-hour format Timepicker, recheck the selected hour's validity after user switching "AM/PM" from the dropdown.