-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type converter "list" is undocumented #673
Comments
@jugmac00
Note, that the implementation has always made the distinction between "converter" and "aggregator": the converters are implemented by the module |
"list" is not listed at
https://zope.readthedocs.io/en/latest/zdgbook/ObjectPublishing.html#argument-conversion
For example you can use list for a select element when multiple values are allowed.
<select name="colors:list" multiple="multiple">
The list converter is used a couple of times in the document, also in the caveats section, but it does not show up in the argument conversion section.
I stumpled upon this as I debugged strange behaviour in my company's app when a search function sometimes returned wrong results.
Turned out Zope returns
for a select field, even though the "multiple" attribute was set.
I prevented this by using the list converter.
The text was updated successfully, but these errors were encountered: