title: Filter array results on keyup
body: <p>I have an array of names that I loop over using <code>v-for</code> I'm trying to filter these results when a user starts typing in a search box. </p>
  
  <p>I've added my code below for reference if I do my loop as <code>v-for="entry in entries"</code> then it output the array but doesn't work with the computed and filteredList function</p>
  
  <pre class="lang-js prettyprint-override"><code>&lt;template&gt;
      &lt;div class="container-flex"&gt;
          &lt;div class="entries"&gt;
  
              &lt;div class="entries__header"&gt;
                  &lt;div class="entries__header__title"&gt;
                      &lt;p&gt;Entries&lt;/p&gt;
                  &lt;/div&gt;
  
                  &lt;div class="entries__header__search"&gt;
                      &lt;input 
                          type="text" 
                          name="Search" 
                          class="input input--search" 
                          placeholder="Search..." 
                          v-model="search"&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
              &lt;div class="entries__content"&gt;
                  &lt;ul class="entries__content__list"&gt;
                      &lt;li v-for="entry in filteredList"&gt;
                          {{ entry.name }}
                      &lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;
  
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
  
  import addEntry from '@/components/add-entry.vue'
  
  export default {
      name: 'entry-list',
      search: '',
      components: {
          addEntry
      },
      data: function() {
  
          return {
              entries: [
              {
                  name: 'Paul'
              }, 
              {
                  name: 'Barry'
              },
              {
                  name: 'Craig'
              },
              {
                  name: 'Zoe'
              }
              ]
          }
      },
      computed: {
          filteredList() {
              return this.entries.filter(entry =&gt; {
                  return entry.name.toLowerCase().includes(this.search.toLowerCase())
              })   
          }
      }
  }
  </code></pre>