Skip to content

当form 表单有 initialValue时,执行 resetFields 只能重置到默认状态 而不是清空 #1218

@lilixikun

Description

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

Version

1.1.0

Environment

nuxt 2.00

Reproduction link

https://vue.ant.design/components/form-cn/#API

Steps to reproduce

使用form 表单 给form-item 添加默认值 initialValue 执行resetFields 只能重置到默认状态 而不是清空。

What is expected?

希望能像react antd 一样可以清空

What is actually happening?

使用form 表单 给form-item 添加默认值 initialValue 执行resetFields 只能重置到默认状态 而不是清空。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions