Vuetify v-btn-toggle group has wrong v-model

I’ve got two v-btn-toggles with several buttons in them. Selecting the first changes the buttons available in the second, in a pattern like this:

firstButtons: [ "a", "b", "c" ],
secondButtons: { a: [0,1,2], b: [3,4], c: [5] }

The v-btn-toggles are mandatory. If we click on "C", "5" is selected in the second group. If we click then on "A", we might expect "0" to be selected, but instead "2" is. And if we click randomly on the first group, the button selected in the second varies wildly.

Is there something I’m missing? If I’m trying to make this kind of data pattern, how can I accomplish it?

Here’s a codepen illustrating this behavior.

176 thoughts on “Vuetify v-btn-toggle group has wrong v-model”

  1. I loved as much as you’ll receive carried out right here.
    The sketch is tasteful, your authored subject matter stylish.
    nonetheless, you command get bought an shakiness over that you
    wish be delivering the following. unwell unquestionably come more formerly again since exactly the same nearly
    a lot often inside case you shield this hike.

  2. After going over a number of the blog articles on your blog, I honestly like your technique of
    writing a blog. I book marked it to my bookmark webpage list and will be checking back soon.
    Take a look at my website too and let me know your opinion.

  3. A fascinating discussion is worth comment. There’s no doubt that
    that you should publish more about this topic, it might not be a taboo matter but usually people don’t
    discuss these subjects. To the next! All the best!!

  4. Hello there! This article could not be written much better!
    Reading through this article reminds me of my previous roommate!
    He continually kept preaching about this. I most certainly will send this article to him.
    Fairly certain he’s going to have a very good read.
    I appreciate you for sharing! ps4 ps4 games

  5. Hello there I am so glad I found your website, I really found you by mistake, while I was
    browsing on Bing for something else, Nonetheless
    I am here now and would just like to say kudos for a
    incredible post and a all round exciting blog (I also love the theme/design), I don’t have time
    to read through it all at the moment but I have bookmarked it and also added
    your RSS feeds, so when I have time I will be back to read much more, Please do keep up the superb


Leave a Comment