Closed cimmanon closed 7 years ago
Looks good to me. Would it be possible to add a test as well though? Thanks for your work @cimmanon!
Do you have any ideas for one that will fit the Pokemon theme?
Maybe selecting a number of Pokemon that the user likes?
There, I've added a test that allows you to set multiple weaknesses for a Pokemon.
Hm, commit 26e6ce5 is causing the "choice expects a list with at least one item in it" error to be emitted in one of my forms that fetches the choice options from the database. Closing this until I can figure out where the problem is.
This looks great now. Thanks for all the work!
Choice
now takes a list of selected values rather than a single value. This allows themultiple
attribute to be used for select elements when using one of the 8 new formlet functions. It can potentially be used to generate a list of checkboxes within View generating libraries (Heist, Blaze, etc.) as well.This directly addresses the following issues:
And indirectly or partially addresses the following issues: