Closed
Description
Describe the bug
If the clearable
is set to true
(which is default), the tabSubmit
option in :textInput
will not work correctly. This is because when pressing tab, the focus shifts to the clear-button. For some reason, the datepicker will not validate the input-string.
However, setting :clearable="false"
will fix the issue.
Reproduction
A full reproduction is linked below. The first datepicker will not work, but the second one will.
https://stackblitz.com/edit/vuepic-vue-datepicker-wklyj4?file=src%2Fcomponents%2FPlayground.vue
Expected behavior
I would expect the string to be validated as soon as I tab away, even if I tab to the clear-button inside the input. Especially since this would be the default behavior.
Desktop & mobile (please complete the following information):
- Browser Chrome
- Library version 9.0.1