diff --git a/forms/DropdownField.php b/forms/DropdownField.php index e1d018936..5115f28fd 100644 --- a/forms/DropdownField.php +++ b/forms/DropdownField.php @@ -66,6 +66,14 @@ * ); * * + * Disabling individual items + * + * Individual items can be disabled by feeding their array keys to setDisabledItems. + * + * + * $DrDownField->setDisabledItems( array( 'US', 'GEM' ) ); + * + * * @see CheckboxSetField for multiple selections through checkboxes instead. * @see ListboxField for a single