Closed fsx999 closed 11 years ago
Hm really seems that django's implementation handles this differently. What is irritating me though is that the empty choices in django's implementation are only shown if no value (e.g. no initial value is provided and not on already submitted forms) even if the form is not required.
Maybe we should ignore django's behaviour here and always show the empty choices (e.g. '----') if required==False. That makes much more sense here IMHO.
Hi. Sorry for my bad english. I found a bug : The SelectDateWidget has not empty choice ( ----- choices). The class has a none_value, but it isn't use. The problem is : the fisrt load of the page, the selectDateWideget has already value selected. My solution :
Thx