Can I dynamically make one selection of an EnumerationList show read-only?
I have an enumeration which is displayed as an EnumerationList (multi-select) as a set of checkboxes.
I'd like to dynamically enable/disable a given checkbox based on the value of another attribute. For example: If attribute A = 1 then allowable values (those enabled) are X, Y, and Z but if attribute A = 2 then allowable values (those enabled) are only Y and Z. X is not valid. My enumerations are stored in the configuration. Can this be done? |
One answer
Hello Susan,
did you try dependent enumerations ?
https://jazz.net/library/article/1003/#value-sets
Eric
Comments
Susan Hanson
commented Aug 27 '14, 4:56 p.m.
I use dependent enumerations for single-select enumerations in a few places ... i didn't realize that they could work for multi-select ones also ...
Susan Hanson
commented Aug 27 '14, 5:01 p.m.
So I created a new ValueSet between my two Enumerations, but when I attempt to set the value set on the EnumerationList, it is greyed out and doesn't allow me to select a value set.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
sorry, no.. dependent enums only work for singe select.