From bff18e01a08c1379231c5de3a9656eefda52a027 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Fri, 11 Feb 2022 09:14:18 -0800 Subject: [PATCH] Enable search for Color By (#1456) This makes the Color By dropdown searchable as the list gets longer. Enhancement proposed by @trvrb, implementation from @joverlee521 --- src/components/controls/color-by.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/controls/color-by.js b/src/components/controls/color-by.js index 04502c8d9..fa3c5a457 100644 --- a/src/components/controls/color-by.js +++ b/src/components/controls/color-by.js @@ -213,7 +213,7 @@ class ColorBy extends React.Component { value={this.state.colorBySelected} options={colorOptions} clearable={false} - searchable={false} + searchable multi={false} onChange={(opt) => { this.replaceState({ colorBySelected: opt.value });