mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-11-02 20:30:17 -06:00
Ensure that the calendar control should be disabled in the properties panel for Role. Fixes #6469.
This commit is contained in:
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),
|
||||
|
||||
Reference in new issue
Block a user