Skip to content

Conversation

@KaelWD
Copy link
Member

@KaelWD KaelWD commented Nov 25, 2021

Description

fixes #9073
I couldn't find any justification for this in #5009. There is a chance this change could break anything relying on that behaviour but it seems pretty obtuse.

Markup:

Details
<template>
  <v-app>
    <v-container>
      <v-radio-group v-model="selected">
        <v-radio
          label="Yes"
          :value="true"
        ></v-radio>
        <v-radio
          label="No"
          :value="false"
        ></v-radio>
        <v-radio
          label="N/A"
          :value="null"
        ></v-radio>
      </v-radio-group>

      <v-tabs>
        <v-tab>Tab</v-tab>
        <v-tab>Tab</v-tab>
        <v-tab>Tab</v-tab>
      </v-tabs>

      <pre>{{ String(selected) }}</pre>
    </v-container>
  </v-app>
</template>

<script>
  export default {
    data: () => ({
      selected: undefined,
    }),
  }
</script>

@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected C: VItemGroup labels Nov 25, 2021
@KaelWD KaelWD added this to the v2.6.x milestone Nov 25, 2021
@KaelWD KaelWD requested a review from johnleider November 25, 2021 08:53
@KaelWD KaelWD self-assigned this Nov 25, 2021
@KaelWD KaelWD merged commit a0dd90d into master Nov 30, 2021
@KaelWD KaelWD deleted the fix/9073-null-radio branch November 30, 2021 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C: VItemGroup T: bug Functionality that does not work as intended/expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report] Cannot have a radio box corresponding to a null value

2 participants