title: How to filter by more than one element in Vuejs
body: <p>I'm implementing an application in <code>Vuejs</code>, I'm having two select in which child select is being filtered if any options is being selected in parent select. I want to add an extra filter of checking whether it is a client or not:</p>
  
  <p>I've a model.data which holds all the data, it is basically an array of elements :</p>
  
  <pre><code>model.data: [
      {id: 1, name: XYZ 1, is_client: 0, address: "ABCD Address 1"},
      {id: 2, name: XYZ 2, is_client: 1, address: "ABCD Address 2"},
      {id: 3, name: XYZ 3, is_client: 0, address: "ABCD Address 3"},
  ]
  </code></pre>
  
  <p>I'm having a <code>v-model="company_name"</code> of parent select which is used as filter in child select</p>
  
  <pre><code>filteredCompanyOptions() {
      if (this.model.data)
      {
          return this.model.data
              .filter(f =&gt; f.name !== this.company_name.label)
              .map(d =&gt; ({label: d.name, value: d.id}))
      }
  }
  </code></pre>
  
  <p>Guide me how to achieve this.</p>