简体   繁体   English

EchMultiselect(TypeError:m.easing [this.easing]不是一个函数)

[英]EchMultiselect(TypeError: m.easing[this.easing] is not a function)

I am using EchMultiselect to create a multiple select. 我正在使用EchMultiselect创建多选。

         $this->widget('ext.widgets.EchMultiSelect', 
         array(
        'model' => $modelCtas,
        'dropDownAttribute' => 'CATServiceID',
        'data' => $data,
        'dropDownHtmlOptions' => array(
        'style' => 'width:378px;',
        ),

It works fine, but it doesn't collapse and the close button is not working. 它工作正常,但不会折叠并且关闭按钮不起作用。 I get the JQuery error TypeError: m.easing[this.easing] is not a function. 我收到JQuery错误TypeError:m.easing [this.easing]不是一个函数。 What could be the issue.? 可能是什么问题。?

To fix this issue you need to make sure: 要解决此问题,您需要确保:

1) jQuery UI is used in your project. 1)您的项目中使用了jQuery UI。

2) if jQuery UI its include, Then you have an error in jQuery UI version, this ext is tested on Yii 1, so that make sure you are include truth version for jQuery UI if you using Yii2, or upgrade ext if you are in Yii 1 version. 2)如果包含jQuery UI,则jQuery UI版本中存在错误,则此扩展在Yii 1上进行了测试,因此,如果您使用Yii2,请确保包含jQuery UI的真实版本;如果您使用的是,请升级ext。 Yii 1版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM