﻿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
4003	Added tooltips (title=) to newforms.widgets.Select	tonnzor <tonn81@…>	Adrian Holovaty	"It is useful to have tooltips in dropdown list.

So I created a SelectWTitle widget, that processes third choice's item value as an option title. I also fixed newforms.fields.py to process three-values items.

I'm not sure in widget's name - maybe there's a better name for it.

Usage example:

{{{
>>> AgentForm(newforms.Form):
   record_type = forms.ChoiceField(widget=SelectWTitle, choices=[('agname', 'Agent name', 'Name of the agent that makes the action')])

>>> print AgentForm()

<select>
   <option value='agname' title='Name of the agent that makes the action'>Agent name</option>
</select>
}}}"		closed	Forms	dev		wontfix			Design decision needed	1	0	0	0	0	0
