bootstrapValidator Maximum call stack size exceeded

既然validator依赖与Bootstrap3,那么表单必须使用Bootstrap的类来编写.

  • Tip1:如果表单不是通过Bootstrap构建(即元素包含表单项且关联的label没有form-group类),可能会看到错误Uncaught RangeError: Maximum call stack size exceeded
  • tip2:不要使用表单的属性来设置表单的name和id属性(如submit,reset,length等),可能会引起冲突
posted @ 2016-09-25 11:38  galoishelley  阅读(1493)  评论(0编辑  收藏  举报