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
期望tooltip正常展示
tooltip无法显示内容
@formily/[email protected]
The text was updated successfully, but these errors were encountered:
在我项目中以前配置的正常的tooltip也出现异常的情况,只有气泡,没有内容
Sorry, something went wrong.
我也遇到了一样的问题,什么时候可以修复呢? 应该是BaseItem组件有问题(import { BaseItem } from '@formily/antd/esm/form-item/index'; )
我尝试打印了下,如下图,Tooltip的props参数有问题,应该是{ tooltip: 'xxx' }的,结果不知道为什么,这个字符串被解析为了对象,导致tooltip的内容是空的。
'x-decorator-props': { labelCol: 5, wrapperCol: 19, tooltip: React.createElement('span', null, '这里是提示信息'), },
这样写可以解决问题。
'x-decorator-props': { labelCol: 5, wrapperCol: 19, tooltip: React.createElement('span', null, '这里是提示信息'), }, 这样写可以解决问题。
@ctocto tooltip如果想配置overlayInnerStyle参数呢,好像做不到?按照tooltip参数传递报错。 {title: '',overlayInnerStyle: {}}
No branches or pull requests
Reproduction link
Steps to reproduce
What is expected?
期望tooltip正常展示
What is actually happening?
tooltip无法显示内容
Package
@formily/[email protected]
The text was updated successfully, but these errors were encountered: