Skip to content

Commit 2a04e22

Browse files
committed
fix: preview-format not working (fixes #957)
1 parent 49033fe commit 2a04e22

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/VueDatePicker/components/ActionRow.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@
9999
defaultedInline,
100100
defaultedRange,
101101
defaultedMultiDates,
102-
getDefaultPattern,
103102
} = useDefaults(props);
104103
const { isTimeValid, isMonthValid } = useValidation(props);
105104
const { buildMatrix } = useArrowNavigation();
@@ -173,7 +172,7 @@
173172
props.formatLocale,
174173
defaultedTextInput.value.rangeSeparator,
175174
props.modelAuto,
176-
getDefaultPattern(),
175+
defaultedPreviewFormat.value as string,
177176
);
178177
};
179178

0 commit comments

Comments
 (0)