diff --git a/src/renderer/components/ft-input/ft-input.js b/src/renderer/components/ft-input/ft-input.js index 659eb5e4f8986..d809bb92b8fdd 100644 --- a/src/renderer/components/ft-input/ft-input.js +++ b/src/renderer/components/ft-input/ft-input.js @@ -139,10 +139,11 @@ export default Vue.extend({ this.inputData = '' this.handleActionIconChange() this.updateVisibleDataList() - this.$emit('input', this.inputData) - // Focus on input element after text is clear for better UX const inputElement = document.getElementById(this.id) + inputElement.value = '' + + // Focus on input element after text is clear for better UX inputElement.focus() },