[widget] Make #text the canonical representation.

Reserve #value for comparisons.