How to read the value of a dropdown box in a dialog in the new version

In the older versions I did it like this:

dialog_field[“value”] = $evm.root[‘dialog_name’].first.description

But in the new version this is not working anymore. Can someone help me with this?


I haven’t tested in the G release, but when we need to access dialog values we have been using the following code.

In dependent dialogs

test_value = $evm.object['dialog_foo']

In provisioning

test_value = $evm.root.attributes['dialog_bar']

Hi, what I want is when the dropdown box is changed another field is filled with the current value of the dropdown box.