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

    q-search numeric keypad from ios and android

    Help
    2
    7
    2668
    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.
    • C
      conx last edited by

      How i can apply numeric keypad to q-search input
      <input type=“number” pattern="[0-9]*" inputmode=“numeric”>

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        Not supported at the moment. The keyboard mode is set by changing the “type” of the Search component inner input tag. But this comes with problems as “type” cannot be dynamic due to Vue limitations.

        Will manually add two cases: default alphanumeric and numeric. Can you please open up a github issue requesting this pls? Don’t want to forget about it.
        Thanks!

        1 Reply Last reply Reply Quote 0
        • rstoenescu
          rstoenescu Admin last edited by

          Pushed commit for this. Available in edge version and future v0.13.1. Thanks for suggesting this!

          1 Reply Last reply Reply Quote 2
          • C
            conx last edited by

            Hei! Thanks!
            But if adding 'pattern="[0-9]*" ’ shows only numeric keys, not chars… Maybe its not deal, but using patterns makes field(inc text) more “user-error-prevention-friendly”?

            1 Reply Last reply Reply Quote 0
            • rstoenescu
              rstoenescu Admin last edited by

              Hmm, I guess you’re right. Will add that pattern. Thanks for the suggestion!

              1 Reply Last reply Reply Quote 0
              • rstoenescu
                rstoenescu Admin last edited by

                Pushed patch for this. Available in edge and next Quasar version after v0.13.1

                1 Reply Last reply Reply Quote 0
                • C
                  conx last edited by

                  Thanks…

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