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-autocomplete min-characters

    Framework
    2
    3
    181
    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.
    • T
      tntneo last edited by

      hi, I get a strange error message when using min-characters prop in q-autocomplete.
      it “type check failed for prop minCharacters. expected numbers got string”
      I am sending a number though.
      I also tried to send a string like “0”
      Yes, the number is 0, I want the auto complete droplist to show up right away.
      This is only a warning though. Everything works, but I always get the [Vue warn] in console.

      1 Reply Last reply Reply Quote 0
      • CristalT
        CristalT last edited by CristalT

        Try passing the number value as a directive adding a colon (:) before the component property like this

        <q-autocomplete :min-characters="3" />

        1 Reply Last reply Reply Quote 0
        • T
          tntneo last edited by

          It worked! Thanks! appreciate it.

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