zopefoundation / z3c.form

An advanced form and widget framework for Zope 3
Other
8 stars 39 forks source link

schema.ASCIILine and DISPLAY_MODE #27

Open keul opened 9 years ago

keul commented 9 years ago

When using a form with schema.ASCIILine and settings the widgets['...'].mode = interfaces.DISPLAY_MODE you always get a type validation error.

Switching to a schema.TextLine or keeping ASCIILine but using interfaces.HIDDEN_MODE is ok. It's like that the default used with DISPLAY_MODE is always an Unicode, or something similar.