chemerisuk / better-dateinput-polyfill

input[type=date] polyfill
http://chemerisuk.github.io/better-dateinput-polyfill/
MIT License
259 stars 58 forks source link

reset targetDate after a form reset with no default value #78

Closed sylvainpolletvillard closed 8 years ago

sylvainpolletvillard commented 8 years ago

Currently, when no default value is set, a form "reset" event clears the input but does not reset the label datetime. So after clicking the reset button, opening the date picker shows the last date selected before the reset. This modification aims to fully reset the calendar state after a form reset when no default value is set.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.1%) to 91.447% when pulling 7bd27406ce8c0fddd5ca17ddad166e235ab5a239 on sylvainpolletvillard:patch-1 into fa697272a0312c68e7133f6cc09853d9193bd99e on chemerisuk:master.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.06%) to 91.391% when pulling 5fbac39a77872f639a9035beb8c618c4b433842a on sylvainpolletvillard:patch-1 into fa697272a0312c68e7133f6cc09853d9193bd99e on chemerisuk:master.

chemerisuk commented 8 years ago

@sylvainpolletvillard thanks!