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

pull/3/head
Ashesh Vashi 2016-01-05 15:02:45 +05:30
parent d498b473c7
commit bd3492afdf
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@
formatter: this.formatter
}),
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