You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.
Using keyboard delete all the text from date input (e.g. press Tab and then Backspace/Delete)
Expected behavior
Input should become empty and value should be set to null.
It works that way when autoApply is set to false or when Datepicker is in single date mode.
Clearing input by clicking on 'x' also works without any problem
Describe the bug
When trying to clear text input of Datepicker in range mode with
autoApply
set totrue
, page breaks with error:To Reproduce
Steps to reproduce the behavior:
Or create new component elsewhere with this set of props:
<Datepicker v-model="date" range text-input auto-apply />
Expected behavior
Input should become empty and value should be set to null.
It works that way when
autoApply
is set tofalse
or when Datepicker is in single date mode.Clearing input by clicking on 'x' also works without any problem
Screenshots
Video: https://user-images.githubusercontent.com/7345182/153621929-4a5fb0ea-e78a-4703-8597-c6a7ec8510d4.mp4
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: