Browse Source

完善 form 文档中注册模板的验证示例

pull/1281/head
贤心 1 year ago
parent
commit
098f2f90ea
  1. 2
      docs/form/examples/form.reg.md

2
docs/form/examples/form.reg.md

@ -11,7 +11,7 @@
<div class="layui-input-prefix">
<i class="layui-icon layui-icon-cellphone"></i>
</div>
<input type="text" name="cellphone" value="" lay-verify="phone" placeholder="手机号" lay-reqtext="请填写手机号" autocomplete="off" class="layui-input" id="reg-cellphone">
<input type="text" name="cellphone" value="" lay-verify="required|phone" placeholder="手机号" lay-reqtext="请填写手机号" autocomplete="off" class="layui-input" id="reg-cellphone">
</div>
</div>
<div class="layui-col-xs5">

Loading…
Cancel
Save