No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Arabic Keyboard Input Filtering

    Help
    1
    1
    751
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ryanw last edited by

      Need for help
      I want to implement “arabic keyboard input filtering” use onkeyup and onkeypress like this.

      <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: 150px;">
      

      How to re-implement “arabic keyboard input filtering” in the quasar component q-search ?

      Thanks for help

      1 Reply Last reply Reply Quote 0
      • First post
        Last post