Skip to content

[Feature] 希望提供onChange api 来支持用户获取formData的变化 #236

@Henry129999

Description

@Henry129999

Is your feature request related to a problem? Please describe.

现在有一个场景,是form的外层组件需要实时感知用户对form的修改,并获取change后的formData。
但是目前只能通过ref获取,或者通过submit来一次性获取最终结果,无法感知用户的实时修改。

Description

  1. 提供onChange api
  2. onChange传递参数为:实时的formData,校验的结果errMsg等

Describe the solution you'd like

/

Describe alternatives you've considered

/

Self-service

  • I'd be willing to contribute this feature to DripForm myself.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions