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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user