We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在表单中为Select设置初始值。 通过表单提供的 setFieldsValue 和 getFieldProps 中的initialValue参数设置,比如{ 1:‘xx’, 2: ‘aa’ }, setFieldsValue({id: 1}) , 希望Select中显示的是 xx 字符串, 实际显示的是 1. initialValue 表现出来也是这样, 不知道是哪里出了问题!
The text was updated successfully, but these errors were encountered:
结果 , Select只支持string 类型。解决~
Sorry, something went wrong.
手动点赞,真真是 String 类型的问题~
String
这 Bug 真是无力吐槽了, 为啥不能支持 number 类型?
No branches or pull requests
在表单中为Select设置初始值。 通过表单提供的 setFieldsValue 和 getFieldProps 中的initialValue参数设置,比如{ 1:‘xx’, 2: ‘aa’ }, setFieldsValue({id: 1}) , 希望Select中显示的是 xx 字符串, 实际显示的是 1. initialValue 表现出来也是这样, 不知道是哪里出了问题!
The text was updated successfully, but these errors were encountered: