Passing Variable Price Info into a Text field

@giri-zano This is what I have for changing the size:
export function sizesDropdown_change ( event ) {
productOptions . Size = event . target . value ;
validateProductOptions ();
}

This is getting info from the Product Options though, not the variant section. I’m wondering if I should change it so that it gets info from the variants instead of the other sections