Fix an issue where save button is enabled when table properties dialog is opened. #5098

This commit is contained in:
Aditya Toshniwal
2022-10-31 17:51:46 +05:30
committed by GitHub
parent ad871694cc
commit 201a27e4b3
3 changed files with 42 additions and 12 deletions

View File

@@ -304,6 +304,10 @@ export default class ColumnSchema extends BaseUISchema {
}
return Boolean(obj.attlenRange(state));
},
},{
id: 'min_val_attlen', skipChange: true, visible: false, type: '',
},{
id: 'max_val_attlen', skipChange: true, visible: false, type: '',
},{
id: 'attprecision', label: gettext('Scale'), width: 60, disableResizing: true,
deps: ['cltype'], type: 'int', group: gettext('Definition'),
@@ -332,6 +336,10 @@ export default class ColumnSchema extends BaseUISchema {
}
return Boolean(this.attprecisionRange(state));
},
},{
id: 'min_val_attprecision', skipChange: true, visible: false, type: '',
},{
id: 'max_val_attprecision', skipChange: true, visible: false, type: '',
},{
id: 'collspcname', label: gettext('Collation'), cell: 'select',
type: 'select', group: gettext('Definition'),