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

feat(Form): add on-validate prop #5887

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jizai1125
Copy link
Contributor

@jizai1125 jizai1125 commented Apr 19, 2024

closes #5883closes #6679

Copy link

vercel bot commented Apr 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
naive-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 10, 2025 6:50am

@jizai1125 jizai1125 force-pushed the feat/Form-onValidate-prop branch from cd335b3 to a195bae Compare April 19, 2024 09:57
@jizai1125 jizai1125 force-pushed the feat/Form-onValidate-prop branch from a195bae to 7e839b9 Compare April 19, 2024 10:08
@jizai1125 jizai1125 force-pushed the feat/Form-onValidate-prop branch from 7e839b9 to 60e735c Compare April 21, 2024 01:49
@jizai1125 jizai1125 force-pushed the feat/Form-onValidate-prop branch from 60e735c to 6eafb98 Compare August 28, 2024 01:56
@EONTP
Copy link

EONTP commented Jan 8, 2025

关闭 #5883,关闭 #6679

最新文档没有体现https://www.naiveui.com/zh-CN/os-theme/components/form

@jizai1125
Copy link
Contributor Author

关闭 #5883,关闭 #6679

最新文档没有体现https://www.naiveui.com/zh-CN/os-theme/components/form

还没合

@EONTP
Copy link

EONTP commented Jan 8, 2025

关闭 #5883,关闭 #6679

请问大概什么时候发布;PS:是否有清除reset的api(对该表单项进行重置,将其值重置为初始值并移除校验结果)

@jizai1125
Copy link
Contributor Author

jizai1125 commented Jan 10, 2025

关闭 #5883,关闭 #6679

请问大概什么时候发布;PS:是否有清除reset的api(对该表单项进行重置,将其值重置为初始值并移除校验结果)

得等作者合并这个 PR;form 有个 restoreValidation 方法

@EONTP
Copy link

EONTP commented Jan 10, 2025

关闭 #5883,关闭 #6679

请问大概什么时候发布;PS:是否有清除reset的api(对该表单项进行重置,将其值重置为初始值并移除校验结果)

得等作者合并这个 PR;form 有个 restoreValidation 方法

有restoreValidation我知道,我的意思是清除表单数据到初始值

@jizai1125
Copy link
Contributor Author

jizai1125 commented Jan 10, 2025

关闭 #5883,关闭 #6679

请问大概什么时候发布;PS:是否有清除reset的api(对该表单项进行重置,将其值重置为初始值并移除校验结果)

得等作者合并这个 PR;form 有个 restoreValidation 方法

有restoreValidation我知道,我的意思是清除表单数据到初始值

你自己重置绑定值不就行了么

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

Successfully merging this pull request may close these issues.

Form 事件 Form表单新增任一表单项被校验后触发的事件
2 participants