diff --git a/src/app/features/config/icon-input/icon-input.component.ts b/src/app/features/config/icon-input/icon-input.component.ts index 523005932f..717f2255f1 100644 --- a/src/app/features/config/icon-input/icon-input.component.ts +++ b/src/app/features/config/icon-input/icon-input.component.ts @@ -40,6 +40,10 @@ export class IconInputComponent extends FieldType { return this.to.type || 'text'; } + ngOnInit() { + this.isEmoji.set(containsEmoji(this.formControl.value)) + } + trackByIndex(i: number, p: any): number { return i; }