title: Keyboard Input Filtering (Quasar Framework)
body: <p><strong>Need for help</strong></p>
  
  <p>I want to implement “<em>arabic keyboard input filtering</em>” use <code>onkeyup</code> and <code>onkeypress</code> like <a href="https://jsfiddle.net/wijananto/pgvxhume/" rel="nofollow noreferrer">this</a>.</p>
  
  <pre><code>&lt;input type="text" 
         name="searchBox"
         value=""
         placeholder="بحث"
         size="25"
         onkeypress="if(this.value.match(/[^\u0621-\u063A\u0640-\u0657\u0670\uFE70-\uFEFC]/)) this.value=this.value.replace(/[^\u0621-\u063A\u0640-\u0657\u0670\uFE70-\uFEFC]/g,'')"
         onkeyup="if(this.value.match(/[^\u0621-\u063A\u0640-\u0657\u0670\uFE70-\uFEFC]/)) this.value=this.value.replace(/[^\u0621-\u063A\u0640-\u0657\u0670\uFE70-\uFEFC]/g,'')"
         style="direction: rtl; width: 100px;"&gt;
  </code></pre>
  
  <p>How to re-implement “<em>arabic keyboard input filtering</em>” in the <a href="http://quasar-framework.org/" rel="nofollow noreferrer">Quasar-Framework</a> component <a href="http://quasar-framework.org/components/search.html" rel="nofollow noreferrer">q-search</a>?</p>
  
  <p>Thanks for help</p>