title: React JS Material UI Autocomplete: Change Options
body: <p>I want to use an Autocomplete field for my React JS Project. For the design of the UI I use Material UI. In the documentation you can see the following example:</p>
  
  <pre><code>&lt;Autocomplete
                      required
                      id="combo-box-demo"
                      filterOptions={(x) =&gt; x}
                      value={this.state.departure}
                      options={top100Films}
                      getOptionLabel={(option) =&gt; option.title}
                      renderInput={(params) =&gt; &lt;TextField {...params} label="Startpunkt" variant="outlined" /&gt;}
                  /&gt;
  </code></pre>
  
  <p>The options objects have the following default value:</p>
  
  <pre><code>let top100Films = [
          { title: 'The Shawshank Redemption', year: 1994 },
          { title: 'Monty Python and the Holy Grail', year: 1975 },
      ];
  </code></pre>
  
  <p>For my purpose I want to dynamically change the options since I use an Rest API where I get the results for the input. My question is therefore how I can change the options dynamically when the user is typing.</p>