Skip to content

The useFormItemContext of the Form component does not exist #5667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task
ghost opened this issue Jun 4, 2022 · 2 comments
Closed
1 task

The useFormItemContext of the Form component does not exist #5667

ghost opened this issue Jun 4, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 4, 2022

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

Version

3.2.5

Environment

macOS Monterey 12.4, Chrome 102.0.5005.61, Vue 3.2.25

Reproduction link

Edit on CodeSandbox

Steps to reproduce

按照文档描述编写

What is expected?

得到文档描述结果

What is actually happening?

Uncaught (in promise) TypeError: Form.useFormItemContext is not a function

@github-actions github-actions bot changed the title Form 组件的 useFormItemContext 并不存在 The useFormItemContext of the Form component does not exist Jun 4, 2022
@tangjinzhou
Copy link
Member

文档错误 用这个 useInjectFormItemContext

@github-actions
Copy link

github-actions bot commented Jun 7, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant