File

src/ng-xform/fields/radiogroup-field.ts

Extends

DynamicField

Index

Properties

Constructor

constructor(options: RadioGroupField)
Parameters :
Name Type Optional Description
options RadioGroupField<T>

Properties

Public controlType
controlType:
Default value : 'RADIOGROUP'
Public optionLabelKey
optionLabelKey: string
Type : string
Public options
options: [] | Observable
Type : [] | Observable
Public optionValueKey
optionValueKey: string
Type : string
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;
  }
}

results matching ""

    No results matching ""