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.
1 parent 9baac1f commit 5fd28c5Copy full SHA for 5fd28c5
src/components/DatePicker.vue
@@ -196,10 +196,12 @@ export default {
196
},
197
inputMask() {
198
const masks = this.$locale.masks;
199
- if (this.isTime)
+ if (this.isTime) {
200
return this.is24hr ? masks.inputTime24hr : masks.inputTime;
201
- if (this.isDateTime)
+ }
202
+ if (this.isDateTime) {
203
return this.is24hr ? masks.inputDateTime24hr : masks.inputDateTime;
204
205
return this.$locale.masks.input;
206
207
slotArgs() {
@@ -307,7 +309,7 @@ export default {
307
309
308
310
311
watch: {
- inputMask(val) {
312
+ inputMask() {
313
this.formatInput();
314
315
isRange: {
0 commit comments