fieldview ctor

This commit is contained in:
Kyle Spearrin 2018-01-25 22:59:53 -05:00
parent 47385a2818
commit f8cbf8b247
1 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,11 @@ export class FieldView implements View {
private _maskedValue: string;
// tslint:enable
constructor(f: Field) {
constructor(f?: Field) {
if (!f) {
return;
}
this.type = f.type;
}