0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 17:22:42 +00:00

add ability to filter options on any number of attributes

This commit is contained in:
Gazook89
2022-11-28 21:39:41 -06:00
parent 8d80f699b6
commit fc7c46cfec
2 changed files with 15 additions and 14 deletions

View File

@@ -244,9 +244,9 @@ const MetadataEditor = createClass({
onEntry={(e)=>{this.handleFieldChange('lang', e);}}
options={listLanguages()}
autoSuggest={{
suggestMethod : 'includes',
suggestMethod : 'startsWith',
clearAutoSuggestOnClick : true,
filterOn : 'data-value'
filterOn : ['data-value', 'data-detail', 'title']
}}>
</Combobox>
</div>