table增加verify属性
#1668
Replies: 1 comment 2 replies
-
https://gitee.com/layui/layui/issues/I88E64#note_21970352_link |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如题,虽然table有编辑后的校验,如果字段比较多每个都有验证规则的话,需要写很多校验规则。
能否实现类似form的lay-verify属性,在table的表头属性中增加verify属性,传入email、number、require等
例如
{field:'cnt','title':'总数','verify':'number | require'}
Beta Was this translation helpful? Give feedback.
All reactions