Skip to content

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

fix displaying placeholder on custom text

ulfertsedbb2c3b2f6f
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.ts
index 5873f2e3a90..e285a4dfd5e 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
@@ -96,7 +96,7 @@ export class WidgetCustomTextComponent extends AbstractWidgetComponent implement
}
public get textEmpty() {
- return !this.customText;
+ return !this.currentRawText.length;
}
public get isTextEditable() {