﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13079	There is no possibility to uncheck a radio button.	Artur Delura		"In order to check/unckeck radio buttons by code we use element.setAttribute( 'checked', 'checked' );

If we got two radio buttons and we try to check first one and then the second. We end up with two radio button which have {{{checked=""checked""}}} attribute. So it's not possible to check once again first item. That's because first one have already set this attribute.

The proper way to work radios is to manipulate {{{checked}}} property on native DOM element. See:

HTML
{{{
<input type=""radio"" name=""done"" value=""foo"">
<input type=""radio"" name=""done"" value=""bar"">
}}}

JS
{{{
var foo = CKEDITOR.document.findOne( 'input[value=""foo""]' );
var bar = CKEDITOR.document.findOne( 'input[value=""bar""]' );

window.setTimeout( function() {
	foo.setAttribute( 'checked', true );
}, 1000 );

window.setTimeout( function() {
	bar.setAttribute( 'checked', true );
}, 2000 );

window.setTimeout( function() {
	// It won't work.
	foo.setAttribute( 'checked', true );
}, 3000 );
}}}"	Bug	closed	Normal		General		invalid		
