Skip to content

Commit

Permalink
BUGFIX: 3495 Dimension selector deactivate searchbox
Browse files Browse the repository at this point in the history
The `SelectBox` component doest seem to work currently when beeing expanded in the upper toolbar.
As it will take some time investigating this, we should disable the optional search feature to make the switcher useable for now at all.
  • Loading branch information
mhsdesign committed Jul 6, 2023
1 parent 096c8d7 commit 55b8df5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default class DimensionSelector extends PureComponent {
value={activePreset}
allowEmpty={false}
headerIcon={showDropDownHeaderIcon ? this.props.icon : null}
displaySearchBox={sortedPresetOptions.length >= 10}
displaySearchBox={false} // TODO reenable `sortedPresetOptions.length >= 10` but see https://github.com/neos/neos-ui/issues/3495
searchOptions={searchOptions(this.state.searchTerm, sortedPresetOptions)}
onSearchTermChange={this.handleSearchTermChange}
noMatchesFoundLabel={i18nRegistry.translate('Neos.Neos:Main:noMatchesFound')}
Expand Down

0 comments on commit 55b8df5

Please sign in to comment.