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

    Invalid prop: type check failed for prop "stackLabel". Expected Boolean, got String ...

    Help
    input
    2
    3
    637
    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.
    • J
      janviehweger last edited by

      Hi forum,

      while using the QInput component like so:

      <q-input
            v-model="voltage"
            stack-label="voltage"
            placeholder="put voltage here ..."
            suffix="V"
            type="number"
            />
      

      i get this strange warning:

      [Vue warn]: Invalid prop: type check failed for prop “stackLabel”. Expected Boolean, got String with value “voltage”.

      Thanks for help
      Jan

      metalsadman 1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman @janviehweger last edited by metalsadman

        @janviehweger you gave it a string value just stack-label is enough to set it or if voltage is a boolean data model, :stack-label="voltage", with a colon :.

        J 1 Reply Last reply Reply Quote 1
        • J
          janviehweger @metalsadman last edited by

          @metalsadman said in Invalid prop: type check failed for prop "stackLabel". Expected Boolean, got String ...:

          @janviehweger you gave it a string value just stack-label is enough to set it or if voltage is a boolean data model, :stack-label="voltage", with a colon :.

          ahh thanks, i was somehow routed to the 0.14 docs which show this usage.

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