Skip to content
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

radio组件参数类型错误,版本1.1.13 #2474

Closed
vincylin opened this issue Jan 9, 2019 · 2 comments
Closed

radio组件参数类型错误,版本1.1.13 #2474

vincylin opened this issue Jan 9, 2019 · 2 comments
Assignees
Labels
Milestone

Comments

@vincylin
Copy link

vincylin commented Jan 9, 2019

Radio组件 API 中,参数label-position的类型是String(原文:label-position | 文本位置,可选值为 left | String | right | 1.1.13),而实际Radio组件源码里面参数labelPosition类型被定义为Boolean,所以按照API传参会报错。
Invalid prop: type check failed for prop "labelPosition". Expected Boolean, got String with value "left".

@chenjiahan
Copy link
Member

感谢反馈,下个版本修复

@chenjiahan chenjiahan self-assigned this Jan 10, 2019
@chenjiahan chenjiahan added this to the 1.5.3 milestone Jan 10, 2019
@chenjiahan
Copy link
Member

已在 1.5.3 版本修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants