Skip to content
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

Form 事件 #6679

Open
3 tasks done
EONTP opened this issue Jan 4, 2025 · 1 comment · May be fixed by #5887
Open
3 tasks done

Form 事件 #6679

EONTP opened this issue Jan 4, 2025 · 1 comment · May be fixed by #5887
Labels
feature request New feature or request

Comments

@EONTP
Copy link

EONTP commented Jan 4, 2025

Clear and concise description of the problem

想要一个表单的validate事件对整个表单的内容进行验证。接收一个回调函数,或者返回Promise

Suggested solution

不是ref的方式,而是在<n-form @Validate="Function(name, status, errorMsgs)">(任意表单项被效验后触发)
比如antdv或者elementPlus的validate
image
image

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@EONTP EONTP added the feature request New feature or request label Jan 4, 2025
@Zheng-Changfu Zheng-Changfu linked a pull request Jan 6, 2025 that will close this issue
@EONTP
Copy link
Author

EONTP commented Jan 8, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant