Skip to content

[Bug Report] isTooltipProps 的判断有问题,tooltip 为字符串时,被当成了 props #4302

@hellowuxin

Description

@hellowuxin
  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

b4524135

What is expected?

tooltip 为字符串时,应该是当作 ReactNode 进行处理

What is actually happening?

tooltip 为字符串时,被当成了 props

Package

@formily/antd@2.3.2


添加对应的单元测试

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions