Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does checkbox work to filter, but drop down box does not? #139

Open
JG515 opened this issue Nov 12, 2023 · 2 comments
Open

Why does checkbox work to filter, but drop down box does not? #139

JG515 opened this issue Nov 12, 2023 · 2 comments

Comments

@JG515
Copy link

JG515 commented Nov 12, 2023

Please see images below. We can't figure out why selection drop down boxes don't filter the search list, but checkboxes do.

facet1
facet2

@cigolpl
Copy link
Member

cigolpl commented Nov 12, 2023

Could you provide more info how to reproduce it ? Seems to be more general JavaScript or Vue + HTML problem than ItemsJS itself

@elizabethyalkut
Copy link

elizabethyalkut commented Nov 13, 2024

I'm having the same issue, and get the console error "Uncaught (in promise) TypeError: e.forEach is not a function". It only appears in the console when I open the <select> for the facet.

<select v-if="facet.name === 'ageCategory'" v-model="filters[facet.name]">
<option v-for="bucket in facet.buckets" v-bind:value="bucket.key">
{{ bucket.key }} ({{ bucket.doc_count }})
</option>
</select>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants