We currently have a single choice select list that we use for this (Red,Yellow,Green). Using the ordering of the values in the single choice select option definition, picking the lowest numbered of all leaf children found would work fine. it'd also be fine (for us) if you just implemented a selectable custom color block. it'd also be nice to be able to specify that the field was rendered as a block of that color rather than just the word.
We currently have a single choice select list that we use for this (Red,Yellow,Green). Using the ordering of the values in the single choice select option definition, picking the lowest numbered of all leaf children found would work fine. it'd also be fine (for us) if you just implemented a selectable custom color block. it'd also be nice to be able to specify that the field was rendered as a block of that color rather than just the word.