Skip to content

How to get this under Form.create under jsx #4748

@America-first-melon

Description

@America-first-melon
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.7.7

Environment

vue 2.x

Reproduction link

http://www.baidu.com

Steps to reproduce

Form.create(options) | this.$form.createForm(this, options) #
使用方式如下:

jsx 使用方式,使用方式和 React 版 antd 一致 #

const CustomizedForm = {};

CustomizedForm = Form.create({
    onValuesChange: function(_, filed){
       // console.log(this, filed)
    }
})(CustomizedForm);

What is expected?

jsx 如何获取CustomizedForm的data

What is actually happening?

jsx 获取不到CustomizedForm的data

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions