Javascript 淘汰验证忽略输入字段的errorsAsTitle配置

Javascript 淘汰验证忽略输入字段的errorsAsTitle配置,javascript,knockout.js,knockout-validation,Javascript,Knockout.js,Knockout Validation,我正在使用knockout(3.0.0)和validation(1.0.2),试图禁用ko validation为包含错误的字段生成的“工具提示”: 基于,errorsAsTitle:false应该阻止显示工具提示,但它似乎忽略了false 我的当前配置 ko.validation.rules.required.message = 'Field(s) are required!'; ko.validation.configure({ registerExtenders:

我正在使用knockout(3.0.0)和validation(1.0.2),试图禁用ko validation为包含错误的字段生成的“工具提示”:

基于,
errorsAsTitle:false
应该阻止显示工具提示,但它似乎忽略了
false

我的当前配置

  ko.validation.rules.required.message = 'Field(s) are required!';

  ko.validation.configure({
      registerExtenders: true,
      messagesOnModified: true,
      errorsAsTitle: false,  //<-----problem here
      insertMessages: false,
      decorateElement: true,
      errorElementClass: 'inputError'
  });

  function ViewModel() {
      this.name = ko.observable("").extend({
          required: true
      });
  };

  ko.applyBindings(new ViewModel());
ko.validation.rules.required.message='需要字段!';
ko.validation.configure({
registerExtenders:对,
messages:true,

errorsAsTitle:false,//适用于github上的最新版本


适用于github上的最新版本


适用于github上的最新版本


适用于github上的最新版本



在最新版本上使用
decorateInputElement
代替
decorateElement

在最新版本上使用
decorateInputElement
代替
decorateElement

在最新版本上使用
decorateInputElement
代替
decorateElement

e
decorateInputElement
而不是
decorateElement

那是什么版本的ko验证?那是什么版本的ko验证?那是什么版本的ko验证?那是什么版本的ko验证?那是什么版本的ko验证?那是什么版本的最新版本的Github验证?你的意思是v1.0.2?我通常是ally从CDN获得,与github的发布版本没有差异,对吗?似乎最新版本有decorateInputElement你是说v1.0.2?我通常从CDN获得,与github的发布版本没有差异,对吗?似乎最新版本有decorateInputElement你是说v1.0.2?我通常从CDN获得,与发布版本没有差异github的版本,对吧?看起来最新版本有decorateInputElement你是说v1.0.2?我通常从CDN获得,与github的发布版本没有区别,对吧?看起来最新版本有decorateInputElement
Version on that cdn is old