layui 表单验证不生效的问题
作者:互联网
form 需在div 内部
<div class="layui-form"><form class="layui-form layui-form-pane" action="" lay-filter=""> <div class="layui-form-item"> <div class="layui-inline"> <label class="layui-form-label">行序</label> <div class="layui-input-block"> <input type="text" name="dispOrder" lay-verify="required|number" placeholder="请输入" autocomplete="off" class="layui-input" value=""> </div> </div> </div> </form></div>
标签:form,验证,layui,需在,表单,行序,div 来源: https://www.cnblogs.com/luowusheng/p/11417894.html