Skip to content

Commit bfc8600

Browse files
authored
Merge pull request #1136 from formio/add-string-type-to-lang
added string to language type
2 parents 85693eb + a0f08ce commit bfc8600

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)