Could you confirm which version are you using? As you can see in the video, in our latest version demos with that configuration that I shared we don't have that behavior, perhaps you have another configuration that could be causing that behavior, are you able to create a sample configuration for us to check?
I got an error when trying to compile that project, could you please update the source code or provide a valid configuration for the project that you shared?
Attachments
Screen Shot 2022-10-11 at 15.13.17.png (79.35 KiB) Viewed 448 times
beforeTaskEditShow({editor}) {
// Define list of fields to disable.
const disabledAdvancedFields = ['rollupField', 'manuallyScheduledField', 'effortDrivenField', 'schedulingModeField']
disabledAdvancedFields.forEach(field => {
// e.g: editor.widgetMap.rollupField.readOnly
editor.widgetMap[field].readOnly = true
// Without this class the field looks editable
editor.widgetMap[field].cls = 'b-disabled'
})
},