Skip to content

Latest commit

 

History

History
39 lines (36 loc) · 960 Bytes

README.md

File metadata and controls

39 lines (36 loc) · 960 Bytes

RadioGroup

Simple Radio Group - allows disabled options and can be vertical or horizontal

Usage:

  <aura:attribute name="leftValues" type="Object[]" default="[{
    'label': 'Lead Identified',
    'value': 'Lead Identified',
    'byline': 'we have an email address'
  },
  {
    'label': 'Initial Contact',
    'value': 'Initial Contact',
    'byline': 'call or email has occurred'
  },
  {
    'label': 'Discussions',
    'value': 'Discussions',
    'byline': 'we are engaged in a dialogue'
  },
  {
    'label': 'Verbal Agreement',
    'value': 'Verbal Agreement',
    'byline': 'things are looking good!'
  },
  {
    'label': 'Signed Contract',
    'value': 'Signed Contract',
    'byline': 'ring the bell my friends!'
  },
  {
    'label': 'No Further Action',
    'value': 'No Further Action',
    'byline': 'looks like a no go'
  }]"/>

<c:radioGroup label="test" options="{!v.leftValues}" orientation="horizontal" value="Lead Identified"/>