mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix an issue where save button is enabled when table properties dialog is opened. #5098
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user