﻿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
27724	SelectDateWidget clears date and month if year is not selected	tpazderka	Adonys Alea Boffill	"If year is not selected in `SelectDateWidget`, then all the inputs are cleared as opposed to a state where date or month is missing.

The issue is that `SelectDateWidget.value_from_datadict` does not return a value that would be matched by `SelectDateWidget.date_re`.

The returns from `SelectDateWidget.value_from_datadict`  should probably be formatted as follows

{{{
#!python
return '{:04d}-{:d}-{:d}'.format(y, m, d)
}}}
"	Bug	closed	Forms	1.10	Normal	fixed			Accepted	1	0	0	1	0	0
