From c178c9c339535428984206c097dfab0817955b07 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Mon, 4 Nov 2024 20:12:47 +0100 Subject: [PATCH] Fix search box crash (#6085) --- src/renderer/components/ft-input/ft-input.js | 4 ---- src/renderer/components/ft-input/ft-input.vue | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/renderer/components/ft-input/ft-input.js b/src/renderer/components/ft-input/ft-input.js index 4df5666757fc..7a3aa07150fe 100644 --- a/src/renderer/components/ft-input/ft-input.js +++ b/src/renderer/components/ft-input/ft-input.js @@ -100,10 +100,6 @@ export default defineComponent({ return this.isSearch && this.barColor }, - idDataList: function () { - return `${this.id}_datalist` - }, - inputDataPresent: function () { return this.inputData.length > 0 }, diff --git a/src/renderer/components/ft-input/ft-input.vue b/src/renderer/components/ft-input/ft-input.vue index cdc0dee0fb83..ea5f5c80d56a 100644 --- a/src/renderer/components/ft-input/ft-input.vue +++ b/src/renderer/components/ft-input/ft-input.vue @@ -43,7 +43,6 @@ :id="id" ref="input" :value="inputDataDisplayed" - :list="idDataList" class="ft-input" :maxlength="maxlength" :type="inputType" @@ -70,7 +69,6 @@