metonym / svelte-typeahead

Accessible, fuzzy search typeahead component
https://metonym.github.io/svelte-typeahead
MIT License
222 stars 18 forks source link

TypeError: selectionTarget.value.substring is not a function #44

Closed Gildedter closed 2 years ago

Gildedter commented 2 years ago
<Typeahead
  data={list} // object array
  {extract} // obejct.id
  on:select={({ detail }) => {
    console.log(detail);

    // gotoIndex(detail.selectedIndex); // a function for manipulating my custom store
  }}
/>

when I select a result I'm getting the error (title)

Gildedter commented 2 years ago

I found the culprit, turns out my browser extension is the one erroring out, loading my project on a private tab without extensions fixes the issue, specifically this extension, on line 18 of base64coder.js, when a search result is selected, it throws the error (title)