Creating select dropdown with parent-level custom post types

Found the answer. I was using the terms nomenclature to call my info. Had to update to:

echo "<option value="." . $post->post_name . "">" . $post->post_title . "</option>\n";

And now it’s working just fine. (I also eliminated class cause I didn’t need it here.)