Skip to content

Commit 9d227db

Browse files
committed
feat(dateinput): Update typedDate when selectedDate changes
1 parent 57520b4 commit 9d227db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/DateInput.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ export default {
150150
}
151151
})
152152
},
153+
selectedDate(selectedDate) {
154+
if (this.typeable) {
155+
this.typedDate = this.formatDate(selectedDate)
156+
}
157+
},
153158
},
154159
mounted() {
155160
this.input = this.$el.querySelector('input')

0 commit comments

Comments
 (0)