You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/07/29 14:09:25 UTC
[incubator-dlab] 04/04: [DLAB-845]: added error handling message
for custom tag on env creation
This is an automated email from the ASF dual-hosted git repository.
ankovalyshyn pushed a commit to branch DLAB-845
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit cfce9560d12aaa4f18257f595e703824988ef75f
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Mon Jul 29 17:09:11 2019 +0300
[DLAB-845]: added error handling message for custom tag on env creation
---
.../exploratory/create-environment/create-environment.component.html | 3 +++
1 file changed, 3 insertions(+)
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html
index 1f7bf78..4d8a247 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html
@@ -140,6 +140,9 @@
<div class="control">
<input type="text" class="form-control" placeholder="Enter custom tag" formControlName="custom_tag">
</div>
+ <span class="error"
+ *ngIf="!createExploratoryForm?.controls.custom_tag.valid && createExploratoryForm?.controls.custom_tag.dirty">
+ Custom tag can only contain letters, numbers, hyphens and '_' but can not end with special characters</span>
</div>
<div *ngIf="currentTemplate">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org