Declare null as valid value type for v-radio (#17879)

This commit is contained in:
Pascal Jufer
2023-03-22 15:31:09 +01:00
committed by GitHub
parent 46c1666607
commit 7b34f05a2b

View File

@@ -19,7 +19,7 @@ import { computed } from 'vue';
interface Props {
/** What value to represent when selected */
value: string | number;
value: string | number | null;
/** If `value` and `modelValue` match, the radio is selected */
modelValue?: string | number | null;
/** Label to render next to the radio */