tusen-ai / naive-ui

A Vue 3 Component Library. Fairly Complete. Theme Customizable. Uses TypeScript. Fast.

Home Page:https://www.naiveui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

liub1934 opened this issue · comments

Clear and concise description of the problem

目前Form表单失去焦点或者change后自动触发的校验没法通过相关事件捕获到,只能通过触发validate方法来获取相关错误信息,期望能增加相关事件可以捕获。

Suggested solution

类似element-ui form中提供的validate事件
https://element-plus.org/zh-CN/component/form.html#form-%E4%BA%8B%E4%BB%B6

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.