﻿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
6564	USStateField - newforms - problems	Purdea Andrei	Purdea Andrei	"The problem appears with the '''newforms''' representation of '''USStateField.'''
There was absolutely no handling for the case when '''blank=True'''. (or with other words required=False).
These modification take the implementation closer to the implementation of !ModelChoiceField (the one used for !ForeignKey).

 * there is an empty_label parameter that is set to u'---------' by default
 * i removed the specialized widget, because no such widget was needed
 * modified the formfield method accordingly

This bug appears '''both''' in '''trunk''' and in the '''newforms-admin''' branch, the patch can safely be applyed to both."		closed	Uncategorized	dev		duplicate		purdeaandrei@…	Unreviewed	1	0	1	1	0	0
