Active
Project:
Selector Element
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2009 at 15:19 UTC
Updated:
1 May 2009 at 04:37 UTC
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
Comment #1
lashad commentedThanks.
Very good point. Will add in the next release.
Comment #2
junedkazi commentedwhen is the next version release date ?
Thanks
Juned Kazi