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
⚠️ 重要 ⚠️ 在进一步操作之前,请检查下列选项。如果您忽视此模板或者没有提供关键信息,您的 Issue 将直接被关闭
在使用basic form 的时候,如果字段的名称是length,那么在对名为length 的Input或InputNumber进行赋值的时候,回显数据就会变成该输入值的长度。
length
Input
InputNumber
const schemas: FormSchema[] = [ { field: 'length', component: 'Input', label: '接口名称', colProps: { span: 8, }, }, ];
const [registerForm, formMethods] = useForm({schemas});
2.对该表单项进行赋值
formMethods.setFieldsValue({length: '123456'});
3.结果显示
The text was updated successfully, but these errors were encountered:
No branches or pull requests
描述 Bug
在使用basic form 的时候,如果字段的名称是
length
,那么在对名为length 的Input
或InputNumber
进行赋值的时候,回显数据就会变成该输入值的长度。复现 Bug
2.对该表单项进行赋值
formMethods.setFieldsValue({length: '123456'});
3.结果显示
系统信息
The text was updated successfully, but these errors were encountered: