Hi @skweeze
Thanks for the post.
You need to note that the select field expects some choices with a value and label and your sub fields should match this criteria. If you have more than two sub fields, you will need to add some logic to extract the values from the repeater array within your foreach loop and append the variables to the select field choices through:
// append to choices
$field['choices'][ $value ] = $label;
I hope this helps.