Skip to content

Commit

Permalink
Enable search for Color By (#1456)
Browse files Browse the repository at this point in the history
This makes the Color By dropdown searchable as the list gets longer.

Enhancement proposed by @trvrb, implementation from @joverlee521
  • Loading branch information
victorlin authored Feb 11, 2022
1 parent efe6fff commit bff18e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/controls/color-by.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit bff18e0

Please sign in to comment.