We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
text-input
1 parent 042b968 commit 6f2b19bCopy full SHA for 6f2b19b
src/VueDatePicker/composables/useDefaults.ts
@@ -135,16 +135,16 @@ export const useDefaults = (props: RootPropsWithDefaults) => {
135
if (typeof props.textInput === 'object') {
136
return {
137
...defaultTextInputOptions,
138
- format: getDefaultPattern(),
139
- pattern: getDefaultPattern(),
+ format: formats.value.input,
+ pattern: formats.value.input,
140
...props.textInput,
141
enabled: true,
142
};
143
}
144
145
146
147
- pattern: getDefaultPattern() as string | string[] | ((value: string) => Date),
148
enabled: props.textInput,
149
150
});
0 commit comments