vuetifyjs / vuetify

🐉 Vue Component Framework
https://vuetifyjs.com
MIT License
39.7k stars 6.95k forks source link

v-switch/v-radio doesn't detect v-model value #600

Closed SystemZ closed 7 years ago

SystemZ commented 7 years ago

Hi, does anyone have problem with those elements? Maybe it's just something in my setup which induces this bug, strangely it's just this element is buggy. All other elements are nice and bug free. Kudos for awesome 0.12 release :)

Steps to reproduce

Click on switch or radio

Versions

Vuetify v0.12.1, various browsers (Chrome, Firefox) and OS (Ubuntu, Android 6.0) doesn't seem to change this behaviour.

What is expected ?

Switch should be active on true value, radio should be active on 'radio-1' value

What is actually happening ?

Switch and radio are always inactive and click doesn't change value

screenshot from 2017-05-25 01-43-30

Reproduction steps

git clone https://github.com/lvlup-pro/spawn-frontend-material.git
cd spawn-frontend-material
git checkout c4f58d7df59e5578557db6e2f9d7c894bad81b24
npm install && npm run dev
#visit http://127.0.0.1:8080/en/order
johnleider commented 7 years ago

Vuetify has a dependency of Vue@2.3.3 https://github.com/vuetifyjs/vuetify/blob/master/package.json#L79.

In particular, those components use a feature that was introduced with Vue@2.2 under the Component v-model Customization section. The repository linked was running on Vue@2.1.8. I attempted to upgrade to 2.3 but there were too many errors for me to sift to from the upgrade.

If you upgrade your package to the updated Vue and you can still produce this, just reply back here.

SystemZ commented 7 years ago

Vue upgrade to 2.2.6 solved this issue, thanks :+1: Upgrade to 2.3.x needs more work from me so it must wait.

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please direct any non-bug questions to our Discord