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('@', ''); + } }