I’m not exactly sure where you’re running into a problem. The best advice that I can give you is to open the file for the built in select field and look at what it’s doing. The select field has several extra settings and functions that it runs for showing the field and storing values.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users