title: DefaultSelect typeahead reactjs with data in fetch
body: <p>I have a typeahead in which I send a series of languages ​​to a user, then I have to obtain those languages ​​and paint them in that same typeahead, DefaultSelect was an option but I can't find a way to do it with data obtained from a get
  this is my code</p>
  
  <pre><code> axios.get(Api + "userlanguage/getAll", {headers: headers})
          .then(response =&gt;{
              var userlanguage = response.data.message
              if (userlanguage.length &gt; 0) {
                  for (var i in userlanguage) {
                      this.state.userlanguage = userlanguage[i]
                  }
              }else{
                  this.state.userlanguage = "No have language"
              }
              userlanguage = Object.values(userlanguage)
              this.setState({ userlanguage });
          })
          .catch(err =&gt;{
  
          })
  
  
                             &lt;Typeahead
                              required
                              multiple
                              labelKey='description'
                              id="my-typeahead-id"
                              renderMenuItemChildren={(option, props) =&gt; (
                                  &lt;div&gt;
                                      &lt;div&gt;&lt;img className="img_language" src= {api+option.url}/&gt;{option.description}&lt;/div&gt;
                                  &lt;/div&gt;
                              )}
                              onChange={(selected) =&gt; {
                                  var new_array = []
                                  for (var i in selected) {
                                      new_array[i] = selected[i].ide
                                  }
                                  this.setState({new_array})
                                  this.state.languages = new_array
                                  }}
                                  options={this.state.language}
                                  defaultSelected = {userlanguage}
                                  /&gt;
  </code></pre>