vanillajs-datepicker
Advanced tools
Changelog
1.3.4
Changelog
1.3.2
keydown
event with no key
property triggered when autofill is performed on Chromium-based browsers (except Edge) (#144)Changelog
1.3.1
import
statement and actual file name (#136 - Thank you, @marc-mabe)Changelog
1.3.0
weekNumbers
option to add support for week numbering systems other than ISO 8601 (#90)
calendarWeek
option is now deprecated in favor of weekNumbers
enableOnReadonly
option (#98, #113)shortcutKeys
option to change/disable some keyboard operations (#103, #119)toggle()
API methodforceRefresh
to the method options of setDate()
and update()
API (#98)viewDate
to the method options of setDate()
APIdatesDisabled
option for rule-based disabling (#114, #127)
enabled
property in the object returned by beforeShowDay
/-Month
/-Year
/-Decade
options and their returning a boolean are now deprecated, as they don't really prevent the date from being enteredgetFocusedDate()
and setFocusedDate()
API methods (#122)pickLevel
change
event is not fired when input field loses focus (#39)changeMonth
/-Year
/-View
events to after updating the picker element (#42)tabindex
attributeclearBtn
and todayBtn
options to clearButton
, todayButton
for naming consistency
clearBtn
and todayBtn
are now treated as a synonym of the corresponding one...-bth
classes of the <button>
elements in the picker are also renamed to ...-button
...-bth
classes remain on the elements for backward compatibilityView
classes (and some others)package.json
's exports
field (#87)Changelog
1.2.0
/
as a division operator is deprecated and warned by dart sass, all divide operations in sass stylesheets were rewritten with dart sass's math.div()
function. As a result, the .scss files are no longer able to be compiled with node-sass.container
option is changed to null
.overflow
other than visible
and the element doesn't have enough space, the picker will be clipped.'body'
to the container option,container
option now accepts HTMLElement instance.minDate
/maxDate
aren't set to the start/end of month/year when pickLevel > 0 and either format or passed date string doesn't contain the date part.
datesDisabled
as welldisableTouchKeyboard
doesn't workorientation: 'auto'
to bottom-left (#54, #82)disableTouchKeyboard
option. (#78)Changelog
1.1.4
datepicer.show()
to move the focus to the input field if it's not focused
Changelog
1.1.3
Changelog
1.1.2