Why aren't Vue JS
v-attr=“expression1 && exp2 && exp3”
working? I've attempted using ${&}${&}
, #{&}#{&}
, &&
, and even #{&}#{&}
The code can be found on JSFiddle
<div id="demo">
<button v-for="item in itemlist" :disabled="item.qty < 1 && item.qty < 9">Click</button>
</div>
var demo = new Vue({
el: '#demo',
data: {
title: 'itemlist',
itemlist: [
{
qty: 0
},
{
qty: 10
},
{
qty: 6
}
]
}
})