I have a dialog with xtype=selection field, the dropdown has the text
field with the value: test1, test2 and test3; value field has the value
as 1, 2, 3. When I open the dialog, I will see the test1, test2 and
test3 in the dropdown list. If a user select test2, for example, the
number 2 is stored as a property in CQ. I can use
properties.get("fieldname") to get value 2. The question is how to get
field text as I see in the drop down. In this case, the value should be
test2. Thanks.