mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-26 13:56:58 +00:00
add ability to filter options on any number of attributes
This commit is contained in:
1 parent
8d80f699b6
commit
fc7c46cfec
2 files changed
+15
-14
No files matched your search
@@ -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