﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
10084	RadioSelect documentation leaves out a lot of details	Mark Jones	Jacob	"When constructing a form that uses a RadioSelect Widget, there is nothing I could find in the documentation that even hints at what choices has to look like.  An example like this below gives you an idea that your choices list needs to have values in it, one for the value, one for the user display

{{{
from django.forms.widgets import RadioSelect
class FeedbackForm(django.forms.Form):
    temp = django.forms.ChoiceField( widget=RadioSelect(), choices=[['S','You should pick Me'],['D','You should pick Me!'], ['I',""Whatever you do, dont pick them""]] )
}}}

as_p() will generate html as:

<p><label for=""id_temp_0"">Temp:</label> <ul>\n[[BR]]
<li><label for=""id_temp_0""><input type=""radio"" id=""id_temp_0"" value=""S"" name=""temp"" /> You should pick Me</label></li>\n[[BR]]
<li><label for=""id_temp_1""><input type=""radio"" id=""id_temp_1"" value=""D"" name=""temp"" /> You should pick Me!</label></li>\n[[BR]]
<li><label for=""id_temp_2""><input type=""radio"" id=""id_temp_2"" value=""I"" name=""temp"" /> Whatever you do, dont pick them</label></li>\n[[BR]]
</ul></p>"		closed	Documentation	1.0		fixed	RadioSelect		Accepted	0	0	0	0	0	0
