[Zope-dev] Ensuring at least min_length subwidgets are rendered for the MultiWidget
Laurence Rowe
l at lrowe.co.uk
Thu Apr 14 14:57:33 EDT 2011
The attached patch ensures that when in input mode, the MultiWidget
will render at least field.min_length subwidgets. This streamlines the
add process, currently a user only finds out they need to add to a
form when it is submitted and the error message is rendered. They must
then make another request to actually get the add subform.
I've not contributed much to z3c.form yet, so I wanted to check this
approach looked reasonable before committing the patch.
Laurence
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minwidgets.patch
Type: application/octet-stream
Size: 2532 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20110414/d4b75fb0/attachment.obj
More information about the Zope-Dev
mailing list