Michele Cella wrote: > > I noticed they don't work anymore as on my initial implementation (that > Alberto tested), anyway I will left the selection field to you so you > can check things, the CheckBox is now broken also (still using > create_dict and not respecting the default value), I'm cooking a patch > (with a test to show the supposed behavior). >
I've attached the patch to ticket 490, it adds a bunch of tests (for CheckBox, SelectFields, ...), I've also ported all the widget in newforms.py to use update_data and fixed some things here and there. Finally I've integrated Alberto's patch for callable options and added a test for this. All SelectionField seems to work just fine, at least from the tests I've made. :-) Ciao Michele

