# Displaying unique elements in a searchbox

**URL:** <https://forum.bubble.io/t/displaying-unique-elements-in-a-searchbox/124184>\
**Category:** Need help\
**Created:** [December 4, 2020, 4:50am UTC](https://forum.bubble.io/t/displaying-unique-elements-in-a-searchbox/124184 "2020-12-04T04:50:34Z")\
**Posts on this page:** 3\
**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:** [December 4, 2020, 4:50am UTC](https://forum.bubble.io/t/displaying-unique-elements-in-a-searchbox/124184/1 "2020-12-04T04:50:34Z")

</div>

I’m building an app where the content type is work instructions. Work instructions are divided into departments meaning each department has a bunch of work instructions.  
In my homepage, I included a search box where we can search for departments.  
In the seachbox it is showing  
production  
production(1)  
assembly  
assembly(1)

@NigelG

Please let me know how to remove the repeated department names in the searchbox.

> **[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:** ![ualdir](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ualdir/32/239084_2.png) [@ualdir](https://forum.bubble.io/u/ualdir)\
**Post date:** [December 4, 2020, 12:18pm UTC](https://forum.bubble.io/t/displaying-unique-elements-in-a-searchbox/124184/2 "2020-12-04T12:18:55Z")

</div>

You can create a option sets with the list of departments.

---

<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:** [February 12, 2021, 4:50am UTC](https://forum.bubble.io/t/displaying-unique-elements-in-a-searchbox/124184/3 "2021-02-12T04:50:35Z")

</div>

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