I forgot to mention that the radio button is inside a flexible content field, and it looks like the problem is related to this field. It works fine inside a repeater field and on its own. Everything other then “0” seems to work just fine.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users