Skip to content
This repository has been archived by the owner on Jan 22, 2018. It is now read-only.

Latest commit

 

History

History
44 lines (31 loc) · 812 Bytes

File metadata and controls

44 lines (31 loc) · 812 Bytes

radio

md-radio-group | md-radio-button

Example

{
  type: "radio",
  key: "name",
  templateOptions: {
    label: "Name",
    theme: "custom",
    labelProp: "firstName",
    valueProp: "id",
    options: [
        {firstName: "Sarah", id: 1},
        {firstName: "Jessica", id: 2},
        {firstName: "Parker", id: 3}
    ]
  }
}

Configuration

templateOptions.label : string

templateOptions.theme : string

templateOptions.disabled : boolean

templateOptions.className : string | expression | array

templateOptions.options : array

Array with available options

templateOptions.labelProp : string (default: name)

Name of property with option's label

templateOptions.valueProp : string

Name of property with option's value