# Unique elements in multi dropdown

**URL:** <https://forum.bubble.io/t/unique-elements-in-multi-dropdown/132658>\
**Category:** Need help\
**Created:** [January 26, 2021, 6:29am UTC](https://forum.bubble.io/t/unique-elements-in-multi-dropdown/132658 "2021-01-26T06:29:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sasankjag](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@sasankjag](https://forum.bubble.io/u/sasankjag)\
**Post date:** [January 26, 2021, 6:29am UTC](https://forum.bubble.io/t/unique-elements-in-multi-dropdown/132658/1 "2021-01-26T06:29:56Z")

</div>

I created a dropdown with dynamic values and the type of choices is not text but it’s work instructions. In the dropdown, names of departments appear and if I select a department, it redirects me to another page.

The issue is, In the dropdown the same departments name is appearing multiple times. I need one departments name to appear in the dropdown only once.  
Help from bubble community is much needed.

> **[Bubble Editor - Jadenkid](https://bubble.io/page?type=page&name=home_page&id=jadenkid&tab=tabs-1)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

  
@NigelG @emmanuel @TipLister

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [January 26, 2021, 7:31am UTC](https://forum.bubble.io/t/unique-elements-in-multi-dropdown/132658/2 "2021-01-26T07:31:38Z")

</div>

Add :unique elements after the Search.

![image](https://us1.discourse-cdn.com/bubble/original/3X/6/8/6858857366de2dc20cc786c5481c213b19d53929.png)

---

<div class="post-metadata">

**Author:** ![sasankjag](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@sasankjag](https://forum.bubble.io/u/sasankjag)\
**Post date:** [January 26, 2021, 12:45pm UTC](https://forum.bubble.io/t/unique-elements-in-multi-dropdown/132658/3 "2021-01-26T12:45:09Z")

</div>

![Screenshot (82)](https://us1.discourse-cdn.com/bubble/original/3X/4/4/440c7accb2176a42b136169d6ad22feda23b6d23.png)

I added unique elements after the search. In the dropdown, the department corresponding to a work instruction appears. Is there a way to make each department’s name appear only once in the dropdown?  
@NigelG @emmanuel @TipLister

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [January 26, 2021, 12:57pm UTC](https://forum.bubble.io/t/unique-elements-in-multi-dropdown/132658/4 "2021-01-26T12:57:04Z")

</div>

When you use a DB type, the unique ID is the way for Bubble to set unique element… this mean that all items are unique!  
Instead, you need to choose Type of choices to be “Text” and use Search for work instructions’s department:unique elements

---

<div class="post-metadata">

**Author:** ![sasankjag](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@sasankjag](https://forum.bubble.io/u/sasankjag)\
**Post date:** [January 26, 2021, 4:21pm UTC](https://forum.bubble.io/t/unique-elements-in-multi-dropdown/132658/5 "2021-01-26T16:21:27Z")

</div>

Thank you for the help

---

<div class="post-metadata">

**Author:** ![sasankjag](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@sasankjag](https://forum.bubble.io/u/sasankjag)\
**Post date:** [January 27, 2021, 4:38am UTC](https://forum.bubble.io/t/unique-elements-in-multi-dropdown/132658/6 "2021-01-27T04:38:58Z")

</div>

Thanks for your help.

 ![no 1](https://us1.discourse-cdn.com/bubble/original/3X/f/7/f7e2ee2c001d26c9c748560d1dab6eee0dfe7bd1.png)  
When I make the type of choices to be text, In the workflow section, it’s showing an error because I can’t have ‘This drodown’s value’ in the data to send column.

When my users click on a department’s name in the dropdown, I need them to be redirected to the page corresponding to that department. This workflow is not happening if I keep type of choices to be text. This workflow is working if I keep type of choices to be work instructions but in this case I’m not getting unique elements in the dropdown.

Any clue how to solve this?  
@NigelG @TipLister @emmanuel @Jici

![no 2](https://us1.discourse-cdn.com/bubble/original/3X/5/1/515ade1204806c2ee02e049ad2f551b06816ee8b.png)

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [January 27, 2021, 3:18pm UTC](https://forum.bubble.io/t/unique-elements-in-multi-dropdown/132658/7 "2021-01-27T15:18:18Z")

</div>

You will need to use a Doa search and search using filter on the Department = Dropdown value.  
However, I think you should review your DB setting to either use a DB Type for the Department or an Option set.

---

<div class="post-metadata">

**Author:** ![sasankjag](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@sasankjag](https://forum.bubble.io/u/sasankjag)\
**Post date:** [February 2, 2021, 5:22am UTC](https://forum.bubble.io/t/unique-elements-in-multi-dropdown/132658/8 "2021-02-02T05:22:19Z")

</div>

Thanks for the reply. But I can’t use an option set here because different users have different departments. I also tried making department as a DB type but even then it doesn’t work. Can you please help?

> **[Bubble Editor - Jadenkid](https://bubble.io/page?type=page&name=home_page&id=jadenkid&tab=tabs-1)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [April 6, 2021, 6:29am UTC](https://forum.bubble.io/t/unique-elements-in-multi-dropdown/132658/9 "2021-04-06T06:29:58Z")

</div>

Closed on April 6, 2021, 6:29am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
