I have turned off autoSave on the Editor (autoSave={false}) so the user can manually save the task. When they
- Create a new task
- Edit the task and change it to a 'Milestone' type
- Save the task
is causes a javascript error
This is relating to the function in editor.js
Should the forEach function include a check if ed is defined - or any other alternative?
ie
fields.forEach((ed) => {
if (!ed) return;
if (ed.setter) ed.setter(out, values[ed.key]);
else out[ed.key] = values[ed.key];
});
Note: It does work if you change any other inputs after you change the milestone, or you change the milestone back to Task then to Milestone again
I have turned off autoSave on the Editor (autoSave={false}) so the user can manually save the task. When they
is causes a javascript error
This is relating to the function in editor.js
Should the forEach function include a check if ed is defined - or any other alternative?
ie
Note: It does work if you change any other inputs after you change the milestone, or you change the milestone back to Task then to Milestone again