Radio Button Text Display

I have added the following code to my article.yml file.

headerimage:
                type: fields
                fields:
                    coverimage:
                        type: radio
                        default: yes
                        label: Do you want the first image above to be a header image on the post, and display on the blog summary page?
                        options:
                            yes: Yes
                            no: No

However, on the panel it shows 1 against the first option instead of β€˜yes’

I would suggest using a toggle feild for this instead as its meant for a yes / no or true / false situation. It will also take up less room in the panel.

1 Like

Try to wrap the strings in quotes: β€œYes”

1 Like

Ah, of course! That worked, thank you.