src/ng-xform/fields/text-field.ts
Properties |
|
constructor(options: TextField
|
||||||||
Defined in src/ng-xform/fields/text-field.ts:5
|
||||||||
Parameters :
|
Public controlType |
controlType:
|
Default value : 'TEXT'
|
Defined in src/ng-xform/fields/text-field.ts:4
|
Public type |
type:
|
Type : string
|
Defined in src/ng-xform/fields/text-field.ts:5
|
import { DynamicField } from './dynamic-field';
export class TextField<T = any> extends DynamicField<T> {
public controlType ? = 'TEXT';
public type?: string;
constructor(options: TextField<T>) {
super(options);
this.type = options.type || 'text';
}
}