Skip to content

Form can be used in version 2.1.6 but not in version 2.2.5 #4506

@RanxinStart

Description

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

Version

2.2.5

Environment

codesandbox

Reproduction link

Edit on CodeSandbox

Steps to reproduce

<template>
<div style="padding-left: 50px">
<p>TestForm</p>
<a-form>
<a-form-item label="account" name="account">
<a-input />
</a-form-item>
</a-form>
</div>
</template>

An error has occurred
TypeError
expose is not a function

What is expected?

Can be used in codesandbox

What is actually happening?

TypeError
expose is not a function


In the later version of 2.2.0, validate() caused Maximum recursive updates exceeded when verifying.
Cannot test in codesandbox

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