Fixed an issue where the cursor was not visible in the code tab of the trigger dialog.

This commit is contained in:
Yogesh Mahajan
2022-08-23 18:45:43 +05:30
committed by Akshay Joshi
parent 6b6efd1c4d
commit 41a3345101
2 changed files with 6 additions and 0 deletions

View File

@@ -467,6 +467,11 @@ export default class TriggerSchema extends BaseUISchema {
_.isUndefined(tfunction) ||
tfunction !== 'Inline EDB-SPL');
},
depChange: (state) => {
if (state.tfunction == null) {
return { prosrc: '' };
}
}
},{
id: 'is_sys_trigger', label: gettext('System trigger?'), cell: 'text',
type: 'switch', disabled: obj.inSchemaWithModelCheck, mode: ['properties'],