Client Script - onBeforeUpdate, how to get the new value of picklist

Client Script - onBeforeUpdate, how to get the new value of picklist

Basically, I have "Contact Type" field, and if a particular type is selected from within Canvas detail page, I want it to show a popup warning. I have all of this working, except that getvalue on the particular field in question shows the currently saved value, not the new value selected by the user.

Here is the section that queries the field:

const field = ZDK.Page.getField("Contact_Type");
const newValue = field.getValue(); // Get the field value being set by the user

I am logging to console the output of this, and it shows that the value it's getting is not the one I'm selecting and trying to save, but the value that I am changing from