title: Vue count string length
body: <p><strong>VIEW</strong></p>
  <pre><code>&lt;div v-for=&quot;(listings, index) in list4&quot; :key=&quot;index&quot;&gt;
     &lt;input v-model=&quot;listings.rfidState2&quot; type=&quot;text&quot;/&gt;
  &lt;/div&gt;
  
  &lt;div v-for=&quot;(element2, index) in list4&quot; :key=&quot;index&quot;&gt;
    &lt;p v-if=&quot;list4[index].rfidState2 &gt; 0&quot;&gt;WORKING&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  <p>If I insert value as AC87SG67A for an input field it throws me an error at <code>v-if=&quot;list4[index].rfidState2 &gt; 0&quot;</code> but if I insert the value as 98292001 it displays <strong>WORKING</strong>. Is there a way to display <strong>WORKING</strong> for any value inserted such as integer or alphabet(a to z) inside <code>&lt;input v-model=&quot;listings.rfidState2&quot; type=&quot;text&quot;/&gt;</code> textfield ?</p>