q-autocomplete min-characters



  • 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.



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

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



  • It worked! Thanks! appreciate it.


Log in to reply