SelectDateWidget should have possibility to have more custom configurations
|Reported by:||foobarrior||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||yes||Patch needs improvement:||yes|
It is possible to add some extra configurations to SelectDateWidget constructor.
There was a need for me to use custom "empty" value for each field and custom <select> order, not assigned with settings.
And that's what was done. I'm attouching my own version of forms.extras.widgets module.
It just differs in described above functionality and completely backward-compatible.
Also current v1.3 code was looking dirty for me, so most such places were rewritten. Hope this version will get into repository
Change History (9)
Changed 3 years ago by anonymous
comment:1 Changed 3 years ago by foobarrior
- Easy pickings set
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
Changed 3 years ago by foobarrior
comment:2 Changed 3 years ago by bpeschier
- Needs documentation set
- Needs tests set
- Patch needs improvement set
- Triage Stage changed from Unreviewed to Accepted