mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* feat(components): [checkbox & radio] Use value instead of label * feat(components): update * feat(components): update * feat(components): update * feat(components): update * feat(components): update * feat(components): update test * feat(components): true-value false-value * feat(components): update
13 lines
298 B
Vue
13 lines
298 B
Vue
<template>
|
|
<el-radio v-model="radio" disabled value="disabled">Option A</el-radio>
|
|
<el-radio v-model="radio" disabled value="selected and disabled"
|
|
>Option B</el-radio
|
|
>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
|
|
const radio = ref('selected and disabled')
|
|
</script>
|