13 lines
341 B
TypeScript
13 lines
341 B
TypeScript
|
import {FieldBase} from '../field-base';
|
||
|
|
||
|
export class RadioBoxField extends FieldBase<boolean>{
|
||
|
controlType = 'radiobox';
|
||
|
type: "radio";
|
||
|
answers: Array<any>;
|
||
|
|
||
|
constructor(options: {} = {}){
|
||
|
super(options);
|
||
|
this.type = options['type'] || [];
|
||
|
this.answers = options['answers'] || []
|
||
|
}
|
||
|
}
|