From 6f5dfd191050ae80b04c1f7eb6e845630a1e942b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marina=20L=C3=B3pez?= Date: Mon, 30 Oct 2023 11:05:52 +0100 Subject: [PATCH] fix(workspace): i#0453 workspace name empty error --- .../workspace-create.component.css | 6 ++++++ .../workspace-create.component.html | 8 ++++++-- .../workspace-create.component.ts | 19 +++++++++++-------- 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/javascript/apps/taiga/src/app/modules/workspace/feature-list/components/workspace-create/workspace-create.component.css b/javascript/apps/taiga/src/app/modules/workspace/feature-list/components/workspace-create/workspace-create.component.css index 88eeba95f..309fb1364 100644 --- a/javascript/apps/taiga/src/app/modules/workspace/feature-list/components/workspace-create/workspace-create.component.css +++ b/javascript/apps/taiga/src/app/modules/workspace/feature-list/components/workspace-create/workspace-create.component.css @@ -41,4 +41,10 @@ Copyright (c) 2023-present Kaleidos INC & .workspace-input-project-name { inline-size: 278px; } + + &::ng-deep { + & .input-container { + flex-direction: column; + } + } } diff --git a/javascript/apps/taiga/src/app/modules/workspace/feature-list/components/workspace-create/workspace-create.component.html b/javascript/apps/taiga/src/app/modules/workspace/feature-list/components/workspace-create/workspace-create.component.html index b22fc9c18..b55d13850 100644 --- a/javascript/apps/taiga/src/app/modules/workspace/feature-list/components/workspace-create/workspace-create.component.html +++ b/javascript/apps/taiga/src/app/modules/workspace/feature-list/components/workspace-create/workspace-create.component.html @@ -12,6 +12,7 @@ (keydown.esc)="close()" (ngSubmit)="onSubmit()" [attr.aria-invalid]="createProjectForm.invalid" + [showFormErrors]="submitted" class="workspace-create-padding"> {{ t('workspace.error_name_empty') }} + {{ + t('workspace.error_name_empty') + }}