Skip to content

Commit a0f08ce

Browse files
added string to language type
1 parent 45a9944 commit a0f08ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/angular-formio/src/FormioBaseComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class FormioBaseComponent implements OnInit, OnChanges, OnDestroy {
3131
@Input() error?: EventEmitter<any>;
3232
@Input() success?: EventEmitter<object>;
3333
@Input() submitDone?: EventEmitter<object>;
34-
@Input() language?: EventEmitter<string>;
34+
@Input() language?: EventEmitter<string> | string;
3535
@Input() hooks?: any = {};
3636
@Input() renderer?: any;
3737
@Input() watchSubmissionErrors ? = false;

0 commit comments

Comments
 (0)