New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ok提示消息的配置 #164

niceue opened this Issue Oct 29, 2014 · 0 comments


None yet
1 participant
Copy link

niceue commented Oct 29, 2014


  1. showOk 参数可以设置在field上或者options上,field优先于options;
  2. 如果 showOk: false ,那么一定不会提示ok消息;
  3. 如果 showOk: true,那么是否提示ok消息由是否配置了ok参数来决定(可以是data-ok或者field.ok);
  4. 如果在options中设置 showOk: "" ,则只要字段验证通过,默认全部提示ok消息

默认,是否提示 ok 消息取决于是否给字段配置了 ok 参数,即使是 data-ok="" 也可以。

@niceue niceue added this to the 0.8.0 milestone Oct 29, 2014

@niceue niceue closed this in deeca65 Oct 29, 2014

niceue added a commit that referenced this issue Oct 31, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment