diff --git a/projects/components/src/combo-box/combo-box.component.ts b/projects/components/src/combo-box/combo-box.component.ts index 694244aa0..c4f4de88a 100644 --- a/projects/components/src/combo-box/combo-box.component.ts +++ b/projects/components/src/combo-box/combo-box.component.ts @@ -147,6 +147,9 @@ export class ComboBoxComponent implements AfterViewInit, OnChan @Input() public provideCreateOption: boolean = false; + @Input() + public createOptionLabel?: string = 'Create'; + @Input() public text?: string = ''; @@ -215,7 +218,7 @@ export class ComboBoxComponent implements AfterViewInit, OnChan private buildCreateOption(text: string): ComboBoxOption { return { - text: `Create "${text}"`, + text: `${this.createOptionLabel} "${text}"`, tooltip: text, icon: IconType.AddCircleOutline };