title: How to check if item already exists in array in vue.js?
body: <p>I have this array where i add values on click, but i want to check if value is already in array, if it is do nothing. I tried with indexOf but i get same result every time</p>
  
  <pre><code>this.fields.push(this.field);
        this.field = { value: '' };
  </code></pre>