src/ng-xform/fields/radiogroup-field.ts
Properties |
|
constructor(options: RadioGroupField
|
||||||||
Defined in src/ng-xform/fields/radiogroup-field.ts:8
|
||||||||
Parameters :
|
Public controlType |
controlType:
|
Default value : 'RADIOGROUP'
|
Defined in src/ng-xform/fields/radiogroup-field.ts:5
|
Public optionLabelKey |
optionLabelKey:
|
Type : string
|
Defined in src/ng-xform/fields/radiogroup-field.ts:8
|
Public options |
options:
|
Type : [] | Observable
|
Defined in src/ng-xform/fields/radiogroup-field.ts:6
|
Public optionValueKey |
optionValueKey:
|
Type : string
|
Defined in src/ng-xform/fields/radiogroup-field.ts:7
|
import { Observable } from 'rxjs';
import { DynamicField } from './dynamic-field';
export class RadioGroupField<T = any> extends DynamicField<T> {
public controlType ? = 'RADIOGROUP';
public options: any[] | Observable<any[]>;
public optionValueKey?: string;
public optionLabelKey?: string;
constructor(options: RadioGroupField<T>) {
super(options);
this.options = options.options;
this.optionValueKey = options.optionValueKey;
this.optionLabelKey = options.optionLabelKey;
}
}