Closed (fixed)
Project:
Elements
Version:
6.x-1.x-dev
Component:
Table select
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
14 Mar 2010 at 23:14 UTC
Updated:
7 Apr 2010 at 20:50 UTC
#options supports #weight in each option, to allow for ordering the options in a desirable manner. Similarly, it should support the #disabled property. If that were supported, it would be possible to mark specific options as disabled.
A (super simple) patch that fixes this is attached.
A screenshot with a use case is attached.
This patch was sponsored by the Belgian Drupal company The CareCompany, while working on a project for them.
| Comment | File | Size | Author |
|---|---|---|---|
| elements-disabled-usecase.png | 149.44 KB | wim leers | |
| elements-disabled.patch | 1.15 KB | wim leers |
Comments
Comment #1
dave reidCommitted to CVS. Thanks Wim!
http://drupal.org/cvs?commit=345848