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

    Dynamic disabling of list items no longer function after upgrade to v2

    Framework
    2
    2
    130
    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.
    • Dennis van Beek
      Dennis van Beek last edited by Dennis van Beek

      Since I updated my project to Quasar v2, all list items are disabled.

      At this moment, I use a prop ‘enabled’ to enable or disable the item, like this:

      <q-item ... :disabled="!enabled">
      

      …but all items are always disabled.

      It makes no difference what I try, for example this will also disable it:

      <q-item ... :disabled="false">
      

      Do I have to change my code, or is this a bug in Quasar v2?

      PS: As a work-around, I now use this code:

      <q-item ... :class="enabled ? '' : 'disabled'">
      
      metalsadman 1 Reply Last reply Reply Quote 1
      • metalsadman
        metalsadman @Dennis van Beek last edited by

        @dennis-van-beek disable.

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