diff --git a/projects/angular-formio/src/FormioBaseComponent.ts b/projects/angular-formio/src/FormioBaseComponent.ts index d57b440f..4bfd5ac0 100644 --- a/projects/angular-formio/src/FormioBaseComponent.ts +++ b/projects/angular-formio/src/FormioBaseComponent.ts @@ -31,7 +31,7 @@ export class FormioBaseComponent implements OnInit, OnChanges, OnDestroy { @Input() error?: EventEmitter; @Input() success?: EventEmitter; @Input() submitDone?: EventEmitter; - @Input() language?: EventEmitter; + @Input() language?: EventEmitter | string; @Input() hooks?: any = {}; @Input() renderer?: any; @Input() watchSubmissionErrors ? = false;