cmdobueno

Here is a solution for your issue:

The issue is you are mutating a prop called active1. Props will be overwritten when a component is re-rendered.

The best solution is to create a data prop lets call it active_1 and set that equal to this.active1

Return to Thread...