Pass the model properly, while checking enable/disable for Select control.

This commit is contained in:
Ashesh Vashi
2016-01-05 15:02:45 +05:30
parent d498b473c7
commit bd3492afdf

View File

@@ -218,7 +218,7 @@
formatter: this.formatter formatter: this.formatter
}), }),
evalF = function(f, d, m) { evalF = function(f, d, m) {
return (_.isFunction(f) ? !!f.apply(d, m) : !!f); return (_.isFunction(f) ? !!f.apply(d, [m]) : !!f);
}; };
// Evaluate the disabled, visible, and required option // Evaluate the disabled, visible, and required option