+2
-1
lines changedFilter options
+2
-1
lines changed Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
1
1
<template>
2
-
<md-field :class="['md-datepicker', { 'md-native': !this.mdOverrideNative }]">
2
+
<md-field :class="['md-datepicker', { 'md-native': !this.mdOverrideNative }]" md-clearable>
3
3
<md-date-icon class="md-date-icon" @click.native="toggleDialog" />
4
4
<md-input :type="type" ref="input" v-model="modelDate" @focus.native="onFocus" pattern="[0-9]{4}-[0-9]{2}-[0-9]{2}" />
5
5
Original file line number Diff line number Diff line change
@@ -314,6 +314,7 @@
314
314
selectDate (day) {
315
315
this.currentDate = setDate(this.currentDate, day)
316
316
this.selectedDate = this.currentDate
317
+
this.$emit('update:mdDate', this.selectedDate)
317
318
},
318
319
closeDialog () {
319
320
this.$emit('md-closed')
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4