From afc09c1fd4cb0a4c8338d91d36967789cc5d7f20 Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Tue, 6 Aug 2019 08:04:36 -0700 Subject: [PATCH] SHIBUI-1395 fixed issue with @type for selenium --- .../app/schema-form/widget/select/select.component.html | 8 ++++---- ui/src/app/schema-form/widget/select/select.component.ts | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ui/src/app/schema-form/widget/select/select.component.html b/ui/src/app/schema-form/widget/select/select.component.html index e923b7c6d..f3f709717 100644 --- a/ui/src/app/schema-form/widget/select/select.component.html +++ b/ui/src/app/schema-form/widget/select/select.component.html @@ -1,5 +1,5 @@
-
diff --git a/ui/src/app/schema-form/widget/select/select.component.ts b/ui/src/app/schema-form/widget/select/select.component.ts index ecd50a75b..0d52b0835 100644 --- a/ui/src/app/schema-form/widget/select/select.component.ts +++ b/ui/src/app/schema-form/widget/select/select.component.ts @@ -61,4 +61,8 @@ export class CustomSelectComponent extends SelectWidget implements AfterViewInit getError(error: string): string { return HARD_CODED_REQUIRED_MSG.test(error) ? 'message.required' : error; } + + get cleanId(): string { + return this.formProperty._canonicalPath.replace('@', ''); + } }