EasyUI Forum

General Category => Bug Report => Topic started by: ryupanqui on August 22, 2013, 07:50:14 AM



Title: combogrid validator
Post by: ryupanqui on August 22, 2013, 07:50:14 AM
in the new version 1.3.4, the combogrid not inherit the methods of the combo: validate, enableValidation, disableValidation. It is a bug?
I had to do the following to work:
Quote
$. extend ($. fn.combogrid.methods, {
     validate: function (jq) {
         jq.each return (function () {
             $ (this). combo ('validate');
         });
     }
     enableValidation: function (jq) {
         jq.each return (function () {
             $ (this). combo ('enableValidation');
         });
     }
     disableValidation: function (jq) {
         jq.each return (function () {
             $ (this). combo ('disableValidation');
         });
     }
});


Title: Re: combogrid validator
Post by: stworthy on August 22, 2013, 05:47:22 PM
This issue has been fixed. Please download the updated combogrid plugin from http://www.jeasyui.com/easyui/plugins/jquery.combogrid.js and include it in your page.


Title: Re: combogrid validator
Post by: ryupanqui on August 26, 2013, 01:52:11 PM
in my page, i only add the jquery.easyui.min.js file and not plugin by plugin as you said me, are you planning update the jquery.easyui.min.js file with this fixing?. If not, can i modify my jquery.easyui.min.js file with the fixing without any problem? Regards.


Title: Re: combogrid validator
Post by: stworthy on August 26, 2013, 03:09:48 PM
You can also use the latest http://www.jeasyui.com/easyui/jquery.easyui.min.js in your page.