Skip to content

Commit

Permalink
Merge branch 'search-box-crash' into custom-builds/tmp
Browse files Browse the repository at this point in the history
* search-box-crash:
  Fix search box crash
  • Loading branch information
PikachuEXE committed Nov 4, 2024
2 parents 9e395f0 + 60c9c70 commit 773f46b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/renderer/components/ft-input/ft-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/components/ft-input/ft-input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
:id="id"
ref="input"
:value="inputDataDisplayed"
:list="idDataList"
class="ft-input"
:maxlength="maxlength"
:type="inputType"
Expand All @@ -70,7 +69,6 @@
<div class="options">
<ul
v-if="inputData !== '' && visibleDataList.length > 0 && searchState.showOptions"
:id="idDataList"
class="list"
@mouseenter="searchState.isPointerInList = true"
@mouseleave="searchState.isPointerInList = false"
Expand Down

0 comments on commit 773f46b

Please sign in to comment.