-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Documentation] add v-model example to radio buttons #18460
Comments
usage examples are sudo-automated simple examples, they don't have the ability to display what you are asking; That would be reserved for a regular example (we often create an example for v-model for such occasions) as for the whole integer value ordeal, its valid either way, either string or integer, and would be up to the developer which they want to use, however to clear up some confusion, we can adjust the value present. |
I don't understand. My model is set to ref(1), not to ref('1'). If I use value="1", then the radio button is not selected. If I use :value="1" then it is. |
va
If you set your model to
|
You are right and I understand all this already, especially because I now work on Vue for several weeks. |
i get ya, the issue isn't closed and I assigned myself to it. |
resolved 325ddd3 |
Environment
Browsers: Chrome 117.0.0.0
OS: Windows 10
Steps to reproduce
Check the first example in Usage section.
Expected Behavior
Actual Behavior
v-model is not used in the sample. No radio is selected by default. If v-model was used as explained in the doc, the example would not work for integer values.
Reproduction Link
https://vuetifyjs.com/en/components/radio-buttons/
The text was updated successfully, but these errors were encountered: