Hi,

Thanks a lot for this wonderful module. The only thing I did not liked or found missing is there is no
attribute to add label to both enabled & disabled.

I would really love it if we could have a form element like this

  $form['country_selector'] = array(
    '#title' => t('Select Countries'),
    '#type' => 'jquery_selector',
    '#description' => t('Some description here'),
    '#options' => array(
      '#enabled' => array(
           'label' => 'Players',
           'values' => ''one'=>'one', 'two'=>'two', 'three'=>'three',
       ),
      '#disabled' => array(
            'label' => 'Players in Team',
           'values' => 'four'=>'four', 'five'=>'five', 'six'=>'six'
        ),
    ),
   '#default_value' => array('one'=>'one', 'two'=>'two', 'three'=>'three', 'four'=>'four', 'five'=>'five', 'six'=>'six'),
  );

NOTE: Pls do ignore typos.
and the label's are assigned over the box itself.
Pls do let me know if it is possible.
Thanks for the good work :-) .

Comments

lashad’s picture

Thanks.
Very good point. Will add in the next release.

junedkazi’s picture

when is the next version release date ?

Thanks

Juned Kazi