We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f64ff00 + c0d69bf commit fce5ad7Copy full SHA for fce5ad7
src/VueDatePicker/components/DatepickerInput.vue
@@ -245,10 +245,10 @@
245
if (clearBtnRef.value && fromInput && !clearBtnFocused.value) {
246
ev.preventDefault();
247
clearBtnFocused.value = true;
248
- return clearBtnRef.value?.focus();
+ clearBtnRef.value?.focus();
249
}
250
if (defaultedTextInput.value.enabled && defaultedTextInput.value.tabSubmit) {
251
- parseInput((ev.target as HTMLInputElement).value);
+ parseInput((inputRef.value as HTMLInputElement).value);
252
253
254
if (defaultedTextInput.value.tabSubmit && isValidDate(parsedDate.value) && props.inputValue !== '') {
0 commit comments