Ensure that the calendar control should be disabled in the properties panel for Role. Fixes #6469.

This commit is contained in:
Nikhil Mohite authored and Akshay Joshi committed 2021-06-14 16:59:04 +05:30
1 parent 3d685ef96c
commit 71526ac79f
2 files changed
+6

No files matched your search

@@ -3104,6 +3104,11 @@ define([
return (_.isFunction(f) ? !!f(m) : !!f);
};
// disable when mode is properties.
if(data.mode == 'properties') {
data.disabled = true;
}
// Evaluate the disabled, visible, and required option
_.extend(data, {
disabled: evalF(data.disabled, this.model),