Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/components/time-picker/time-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

const handleInputBlur = (value: string, context: SelectInputBlurContext) => {
if (allowInput.value) {
const isValidTime = validateInputValue(currentValue.value, format.value);
const isValidTime = validateInputValue(currentValue.value, format.value, props.disableTime);

Check failure on line 75 in packages/components/time-picker/time-picker.tsx

View workflow job for this annotation

GitHub Actions / lint

Expected 2 arguments, but got 3.

Check failure on line 75 in packages/components/time-picker/time-picker.tsx

View workflow job for this annotation

GitHub Actions / build-chat

Expected 2 arguments, but got 3.

Check failure on line 75 in packages/components/time-picker/time-picker.tsx

View workflow job for this annotation

GitHub Actions / build_vue-next

Expected 2 arguments, but got 3.
if (isValidTime) {
setInnerValue(formatInputValue(currentValue.value, format.value));
}
Expand All @@ -82,7 +82,7 @@

const handleClickConfirm = (e: MouseEvent) => {
props?.onConfirm?.({ e });
const isValidTime = validateInputValue(currentValue.value, format.value);
const isValidTime = validateInputValue(currentValue.value, format.value, props.disableTime);

Check failure on line 85 in packages/components/time-picker/time-picker.tsx

View workflow job for this annotation

GitHub Actions / lint

Expected 2 arguments, but got 3.

Check failure on line 85 in packages/components/time-picker/time-picker.tsx

View workflow job for this annotation

GitHub Actions / build-chat

Expected 2 arguments, but got 3.

Check failure on line 85 in packages/components/time-picker/time-picker.tsx

View workflow job for this annotation

GitHub Actions / build_vue-next

Expected 2 arguments, but got 3.
if (isValidTime) setInnerValue(currentValue.value);
isShowPanel.value = false;
};
Expand Down
Loading