Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

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?

0 votes

Comments

sorry, no.. dependent enums only work for singe select.



One answer

Permanent link
 Hello Susan,
did you try dependent enumerations ?
https://jazz.net/library/article/1003/#value-sets

Eric

0 votes

Comments

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 ...

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

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,136

Question asked: Aug 27 '14, 1:49 p.m.

Question was seen: 3,366 times

Last updated: Aug 27 '14, 6:12 p.m.

Confirmation Cancel Confirm