Skip to content

Commit

Permalink
fix: add error message if only spaces on creation forms
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaviju committed Oct 2, 2023
1 parent e7b9ed2 commit f38a6ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@
[placeholder]="t('kanban.write_status')" />
<ng-container inputError>
<tg-ui-error error="required">
{{ t('kanban.status_empty') }}</tg-ui-error
>
{{ t('kanban.status_empty') }}
</tg-ui-error>
<tg-ui-error error="pattern">
{{ t('kanban.status_empty') }}
</tg-ui-error>
</ng-container>
</tg-ui-input>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
<tg-ui-error error="required">
{{ t('kanban.create_workflow.workflow_empty') }}
</tg-ui-error>
<tg-ui-error error="pattern">
{{ t('kanban.create_workflow.workflow_empty') }}
</tg-ui-error>
</ng-container>
</tg-ui-input>
<div
Expand Down

0 comments on commit f38a6ab

Please sign in to comment.