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 表单发生change事件实时校验 #2323

Open
aisuandebowen opened this issue Jun 2, 2023 · 2 comments
Open

Form 表单发生change事件实时校验 #2323

aisuandebowen opened this issue Jun 2, 2023 · 2 comments
Labels
Feature Request 新功能请求 PR Welcome 已确认存在的问题,或者计划实现的功能,欢迎社区 PR

Comments

@aisuandebowen
Copy link

What problem does this feature solve?(这个功能解决的问题)

当输入的内容已经通过校验,但是下方的错误提示仍然存在。

此时,用户仍会认为当前输入的内容是错误的。

What does the proposed API look like?(期望的 API)

添加一个props,来选择是否开启实时校验。

@eiinu eiinu added the Feature Request 新功能请求 label Jun 2, 2023
@liusanjin777
Copy link

你可以使用焦点校验,当用户移除焦点时进行重新校验。

@aisuandebowen
Copy link
Author

你可以使用焦点校验,当用户移除焦点时进行重新校验。

每个item都需要手动绑定校验,有点太麻烦了。

@eiinu eiinu added the PR Welcome 已确认存在的问题,或者计划实现的功能,欢迎社区 PR label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request 新功能请求 PR Welcome 已确认存在的问题,或者计划实现的功能,欢迎社区 PR
Projects
None yet
Development

No branches or pull requests

3 participants