setting isEnabled to false on a ListItemView with checkbox has no effect
Reported by Maurits Lamers | November 11th, 2008 @ 03:25 PM
When using a checkbox with a SC.ListItemView, setting the isEnabled property to false has no effect on the checkbox view. The checkbox is still clickable and changeable.
Moreover, it would be very natural if the label would be also grayed out when the isEnabled property is set to false. Any click actions should also be ignored.
Comments and changes to this ticket
-

Maurits Lamers November 16th, 2008 @ 03:19 AM
- → Tag changed from bug collectionview framework listview to bug collectionview fix framework listitemview listview patch
FIX:
http://github.com/mauritslamers/...
Only the changes in theme.css and listitem.jss are needed to get the correct behaviour.
-

Maurits Lamers November 28th, 2008 @ 03:07 PM
Another part of the fix:
-
automatically graying out child items (setting style disabled) http://github.com/mauritslamers/...
-
Disabled the selection mechanism if disabled: http://github.com/mauritslamers/...
-
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
SproutCore: JavaScript Application Framework
Source available from github
The Git repository resides at http://github.com/sproutit
Check out the current development trunk with:
git clone git://github.com/sproutit/sproutcore.git
Creating a bug report
When creating a bug report, be sure to include as much relevant information as possible. Post the code sample that causes the problem. Preferably, alter the unit tests and show through either changed or added tests how the expected behavior is not occuring.
Submitting Patches
Resist adding new tags, use the ones in the tag cloud already. If you are submitting a patch or a pull request from a fork, tag the ticket as a "patch". If you are submitting a new feature enhancement, tag it as "enhancement". If you are submitting a fix for a bug, tag it as "fix".
Thanks!
We're glad you're contributing. Feel free to drop by the Google Group as well to let us know you are involved.
