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

    Width attribute on `q-layout-drawer` giving error in browser console

    Framework
    3
    3
    345
    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
      toymachiner62 last edited by

      <q-layout-drawer v-model="toggleRightPanel" side="right"  width="392">
      

      Is producing

      vue.runtime.esm.js?2b0e:587 [Vue warn]: Invalid prop: type check failed for prop "width". Expected Number, got String.
      
      found in
      
      ---> <QLayoutDrawer>
      
      1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman last edited by

        @toymachiner62
        use :width="392" or width=392.

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

          “width” prop is a Number, so give it a number like metalsadman suggested: :width="392".

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