Here\'s the fiddle, the type is radio
but acts like check-box
{type: \'radio\', name: \'letter\', label: \'Letter\'},
{type: \'radio\
for the 2nd question: {type: 'radio', name: 'a', label: 'Letter', checked:'checked'}
It seems like the tinymce/ui/Radio
class is not implemented yet. It act like a tinymce/ui/Checkbox
.
You can use the tinymce/ui/ListBox
class as a workaround.
Radio - not implemented yet
See message here: https://github.com/tinymce/tinymce/blob/ca0f454b9001b9f20aa26349b25f6d839c1a1146/js/tinymce/skins/lightgray/Radio.less
and almost empty class Radio.js
https://github.com/tinymce/tinymce/blob/0ab3af181284a060683b566d50e81381cc6445a9/js/tinymce/classes/ui/Radio.js