title: react-widgets: what to return from onSearch (Multiselect)
body: <p>I am attempting to use react-widgets with <code>onSearch</code> with <code>Multiselect</code>. I can see that <code>onSearch</code> gets called with <code>searchTerm</code>. But, the response never becomes part of the options/data for <code>Multiselect</code>.</p>
  
  <p>I've tried returning the results in an Array or in an object with the key <code>data</code> to the Array.</p>
  
  <pre><code>const getOptions = searchTerm =&gt; {
    return [{ _id: 1, username: 'Bob' }];
  }
  
  const TagItem = ({ username }) =&gt; &lt;span&gt;{username}&lt;/span&gt;
  
  const MultiSelectUsers = ({ input, ...rest }) =&gt;
    &lt;Multiselect {...input}
      onBlur={() =&gt; input.onBlur()}
      value={input.value || []}
      valueField="_id"
      tagComponent={TagItem}
      itemComponent={TagItem}
      onSearch={getOptions}
      {...rest}
    /&gt;
  </code></pre>
  
  <p>Bonus: How do I use onSearch with Promise?</p>