-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
[Component] [radio] radio无法被选中 #16892
Comments
请使用 v-model 或者看文档是怎么用的 |
If you want use <el-radio-group :model-value="currentValue" @change="handleChange">
<el-radio
v-for="item in list"
@change="(v) => console.log('radio item has changed', v)"
:value="item.id"
:label="item.name"
/>
</el-radio-group> |
我注意到了你所说的这个问题,你使用的是 小于 2.6 的版本,然而文档是2.6 版本更新后基于新 api 的示例,或许需要重新标注一下文档的示例信息 |
那或许我们可以额外添加一个低于2.6版本的示例? |
@warmthsea 既然文档示例在低版本无法运行,那我认为低版本的用法示例应该在前,就像这里: https://4x-ant-design.antgroup.com/components/tabs-cn/ |
@btea 你觉得呢🤔 |
@warmthsea @wzc520pyfm 我觉得可以,欢迎你们谁提个 PR。 |
Bug Type:
Component
Environment
3.4.27
2.7.3
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15
Other
Reproduction
Related Component
el-radio
Reproduction Link
Element Plus Playground
Steps to reproduce
点进去playground,点击radio
What is Expected?
应该可以被选中
What is actually happening?
radio无法被选中
Additional comments
(empty)
The text was updated successfully, but these errors were encountered: