OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
wait for the attachments to be loaded before displaying the edit component
ulferts957af3bf436d
diff --git a/frontend/src/app/modules/grids/widgets/custom-text/custom-text.component.ts b/frontend/src/app/modules/grids/widgets/custom-text/custom-text.component.tsindex e285a4dfd5e..1da78f24618 100644--- a/frontend/src/app/modules/grids/widgets/custom-text/custom-text.component.ts+++ b/frontend/src/app/modules/grids/widgets/custom-text/custom-text.component.ts@@ -63,10 +63,11 @@ export class WidgetCustomTextComponent extends AbstractWidgetComponent implementreturn;}- // load the attachments so that they are displayed in the list;- this.resource.grid.updateAttachments();-- this.handler.activate();+ // Load the attachments so that they are displayed in the list.+ // Once that is done, we can show the edit form.+ this.resource.grid.updateAttachments().then(() => {+ this.handler.activate();+ });}public get placeholderText() {