# Multiple Select Dropdowns Not Working Correctly

**URL:** https://community.feathery.io/t/multiple-select-dropdowns-not-working-correctly/568
**Category:** Support
**Created:** [March 24, 2024, 5:35pm UTC](https://community.feathery.io/t/multiple-select-dropdowns-not-working-correctly/568 "2024-03-24T17:35:06Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![summep](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@summep](https://community.feathery.io/u/summep)
#### Post date: [March 24, 2024, 6:26pm UTC](https://community.feathery.io/t/multiple-select-dropdowns-not-working-correctly/568/2 "2024-03-24T18:26:32Z")

</div>

You can use Javascript’s includes method ([documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes)).

```auto
if (a.value.includes('Apple') && a.value.includes('Apricot')) {
  c.options = ['Carrot', 'Cashew', 'Cherry', 'Cantaloupe']
}

```

Is [this post](https://community.feathery.io/t/multiple-condition-javascript-logic/567) also asking about the same thing? Thank you.

---

_[View the full topic](https://community.feathery.io/t/multiple-select-dropdowns-not-working-correctly/568)._
