Insertion in dataset - dropdown selection

Hello,
I have an insertion with a field “from” coming from a dropdown object with a list of airport.
This field is connecting to a list:
:camera:


The client is selecting the airportName.
I want to be able to insert the oaci field instead of airportName.

How can I select on the first field and insert on the second field via javasript ?

let flightLeg1_toInsert = {
“flightStatus”: “submitted”,
“from”: $w(“#selectionAirportFrom”).value,
…};

Thanks
pym