\BootstrapButtonCheckboxField
BootstrapStyledDropdownField
Look up DropdownField, to see how it works.
This FormField additionally offers the funtionality to setup a class for each Option Tag (to set e.g. Background Color).
<b>Setting indiviual class for individual items</b>
Individual items can set individual classes by feeding their array keys and the class to setOptionClasses.
<code>
$DrDownField->setOptionClasses( array( NZ' => 'green', 'US' => 'yellow', 'GEM' => 'red' ) );
</code>
Synopsis
Hierarchy
Extends
- CheckboxField