# UI Dropdown - How to select / deselect all?

**URL:** https://discourse.nodered.org/t/ui-dropdown-how-to-select-deselect-all/41575
**Category:** Dashboard
**Created:** [24 February 2021 17:20 UTC](https://discourse.nodered.org/t/ui-dropdown-how-to-select-deselect-all/41575 "2021-02-24T17:20:29Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![relic](https://avatars.discourse-cdn.com/v4/letter/r/3ab097/32.png) [@relic](https://discourse.nodered.org/u/relic)
#### Post date: [26 February 2021 20:21 UTC](https://discourse.nodered.org/t/ui-dropdown-how-to-select-deselect-all/41575/11 "2021-02-26T20:21:34Z")

</div>

> [@dceejay](#):
>
> Is less than 7 really that hard to click ? It then adds/wastes a line of space for all those with only a few options. What would be the minimum ?

No, it's not hard to click but it seems more convenient to have a 'select all / unselect all' option for a list. Even the search function is a really nice touch.

Anyway, I did some research here on the forum and found a post from 2019 - more precisely, this one:

> [@Html and CSS files](https://discourse.nodered.org/t/html-and-css-files/8928/4):
>
> It's in the node-red-dashboard/dist/css directory under the node\_module directory... but would be overwritten by any upgrade to the dashboard you install

It was a good starting point as the file that has to be edited is called "app.min.js" and is found here "...node-red\node\_modules\node-red-dashboard\dist\js"

Opening it with any text editor and searching for '\> 7' does the trick. I've edited every instance of '\> 7' into '\> 3' so I can get both the search function activated and the select / unselect button.

I understand that after every update this file will be overwritten by the new one, but at least it does what I want.

Also, I want to mention that there's nothing written in the documentation regarding this matter - 'if there are more than 7 options, 2 new buttons will automatically be made available for the UI\_Dropdown'. So some people might get discouraged from using this function from the rest of the dashboard's functions.

I'd want to mark this as the 'Solution' even if @E1cid came with a workaround but, at the same time, I want to keep this post open for a little bit more time in case there are more things to say (either by me or by anyone else).

---

_[View the full topic](https://discourse.nodered.org/t/ui-dropdown-how-to-select-deselect-all/41575)._
