Search through both name and screen_name.
This commit is contained in:
parent
e1d6174689
commit
5badc930c9
|
@ -49,7 +49,7 @@ const defaultCollection = {
|
||||||
menuContainer: document.body,
|
menuContainer: document.body,
|
||||||
|
|
||||||
// column to search against in the object (accepts function or string)
|
// column to search against in the object (accepts function or string)
|
||||||
lookup: 'name',
|
lookup: ({name, screen_name}) => `${name} (@${screen_name})`,
|
||||||
|
|
||||||
// column that contains the content to insert by default
|
// column that contains the content to insert by default
|
||||||
fillAttr: 'screen_name',
|
fillAttr: 'screen_name',
|
||||||
|
|
Loading…
Reference in New Issue