Skip to content
Advertisement

How to make 2 Quasar toggle button groups mutually exclusive?

We have Vue.js app that uses Quasar component framework.

The screen shots look as following:

Incorrect case:

enter image description here

Correct case:

enter image description here

I need the only one toggle button group should be active, either percents or standard amounts. Pay attention there’s an array of toggle button groups.

The code I wrote produces the incorrect case. It looks as following:

JavaScript

How to make 2 Quasar toggle button groups mutually exclusive?

Advertisement

Answer

Here’s the solution if anyone needs. The guys from Quasar tech support helped me.

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement