An object can have a dependentPicklist. You provide the controlling object’s name, the controlling field, and the dependent field, and it will automatically figure out your options (for example: if country was the controlling field, state could be the dependent field). You can also provide your list instead of using a database-driven list.

Fonteva supports State-Country picklists using the dependentPicklist component.

  • value – The destination SObject for the value entered in the field.
  • required – Marks this field as a required entry with a red asterisk next to the label.
  • objectName – API name of the sObject.
  • controllingField – API name of the controlling (parent) field.
  • dependentField – API name of the dependent field.
  • dependentFieldLabel – Label for the dependent field.
  • isDependentDisable – "True" disables the dependency. If there is no corresponding value in the parent field, disable the dependent pick list.
  • dependentFieldRequired – "True" marks this field as required with a red asterisk.
  • picklistOptions – Allows you to create custom options instead of the list populating from the database. The Key is the controlling field option ("First," "Second," "Third") which will point to a list of options (label, value)

picklistOptions Example

component.setOtherAttributes({picklistOptions : {
'First'  : [{'label' : 'Option 1', 'value' : 'Option 1'},{'label' : 'Option 2', 'value' : 'Option 2'}],
'Second' : [{'label' : 'Option 3', 'value' : 'Option 3'},{'label' : 'Option 4', 'value' : 'Option 4'}],
'Third'  : []


The Alternative Radio Group is a different way of displaying a radio group with essentially the same functionality.


  • listValues – List of radio items.


    ['Mon', 'Tues', 'Wed']
  • richTextClass – Allows you to add rich text labels to the button labels.