Skip to content

Commit 333e914

Browse files
committed
Remove updateTextFields
1 parent abf046d commit 333e914

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/components/InputSearch.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,6 @@ export default {
2222
searchTerm: ""
2323
};
2424
},
25-
activated() {
26-
this.searchTerm = "";
27-
// We are using keep-alive, and when we leave the screen while the input is focused all
28-
// the states are preserved, so we need to restore the input to its initial state.
29-
this.$nextTick(() => {
30-
M.updateTextFields();
31-
});
32-
},
3325
watch: {
3426
searchTerm(newVal) {
3527
this.$emit("input", newVal.trim());

0 commit comments

Comments
 (0)