0👍
I think there is some delay in the code, to be safe just make all cards to false then set the active card to true
makeCardActive(card){
this.associatedCards =
this.associatedCards.map(aC => {
aC.active = false;
return aC;
});
this.activeCard.active = false
card.active = true
console.log(this.associatedCards)
}
},
- [Vuejs]-How to resolve error in Vuetify rules [v-text-field] & computed property
- [Vuejs]-Tailwind Modal Image Alignment
Source:stackexchange.com