Try reinstalling the array as follows:
array( 'all' => 'ALL', 'skip1' => array( 'name' => 'User Define Groups:', 'value' => 'skip1', 'disabled' => true ) (int) 43 => '--Usii Group2', (int) 105 => '--Usii Mailing [ mailing list]', (int) 106 => '--test [ mailing list]', 'skip2' => ( 'name' => 'Dynamic Define Groups:' 'value' => 'skip2', 'disabled' => true ) )
Or you can just try this in your view:
echo $this->FormManager->input('view',array('label'=>'View ','type'=>'select','options'=>$viewGroup,'default'=>$default, 'disabled'=>array('skip1','skip2')));
Both of them do not require JavaScript or jQuery.
source share