Dynamic disabling of list items no longer function after upgrade to v2
-
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'">
-
@dennis-van-beek
disable
.