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

    QInput max-length does not work.

    Help
    1
    2
    4169
    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.
    • L
      leon last edited by

      On quasar .14 work 100%
      Now i read on DOC
      “All DOM attributes that apply to a native <input> or <textarea> can be used. Example: max-length, rows, min/max/step, autocomplete and so on.”

      But its not working. I’m missing something ?

         <q-input v-model="name" :max-length="4"></q-input>
      

      Tks All

      1 Reply Last reply Reply Quote 0
      • L
        leon last edited by

        Its not more a prop.
        Use native like

          <q-input v-model="name" maxlength="4"></q-input>
        

        Hope help \o/

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