Skip to content

Commit dced8f5

Browse files
committed
revert: Use ev.target in handleTab function
1 parent 618faa5 commit dced8f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VueDatePicker/components/DatepickerInput.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
clearBtnRef.value?.focus();
249249
}
250250
if (defaultedTextInput.value.enabled && defaultedTextInput.value.tabSubmit) {
251-
parseInput((inputRef.value as HTMLInputElement).value);
251+
parseInput((ev.target as HTMLInputElement).value);
252252
}
253253
254254
if (defaultedTextInput.value.tabSubmit && isValidDate(parsedDate.value) && props.inputValue !== '') {

0 commit comments

Comments
 (0)