I expected having my LabelEx to auto-check the last star (example: the 5th star) when i click the label.
The code i used:
<?php echo $form->labelEx($model,'rating'); ?>
I think this feature should be added.
This should be added as a new CStarRating property
(Maurizio Domba Cerin)
The functionality of clicking the label to select the input field is completely implemented by HTML standard and the browsers… this is not Yii or JS related at all…
The functionality you are requesting here would mean to add JS code to do what you request… and then someone can complain why the last star… why not the first one…
I personally (because of this above) don’t see any valid reason for implementing this…