Skip to content

Commit

Permalink
Fix search box crash (#6085)
Browse files Browse the repository at this point in the history
  • Loading branch information
absidue authored Nov 4, 2024
1 parent 7bda620 commit c178c9c
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 c178c9c

Please sign in to comment.