|
@@ -502,6 +502,8 @@ export default {
|
|
|
gpuAcceleration: false
|
|
|
};
|
|
|
this.placement = PLACEMENT_MAP[this.align] || PLACEMENT_MAP.left;
|
|
|
+
|
|
|
+ this.$on('fieldReset', this.handleFieldReset);
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
@@ -634,6 +636,10 @@ export default {
|
|
|
this.pickerVisible = false;
|
|
|
},
|
|
|
|
|
|
+ handleFieldReset(initialValue) {
|
|
|
+ this.userInput = initialValue;
|
|
|
+ },
|
|
|
+
|
|
|
handleFocus() {
|
|
|
const type = this.type;
|
|
|
|