On Wed, Feb 10, 2010 at 12:25:51PM -0800, Mats Nordgren wrote:
Seems a plain vanilla install of bluebream validates decimals fine with zope.app.form. Does z3c.form validate decimal fields or is that delegated to zope.schema?
I also hit this, AFAIKR z3c.form delegates it to zope.i18n. We worked around this (no proper solution I'm afraid) by overriding the default DataConverter in z3c.form.
On Wed, Feb 10, 2010 at 8:27 AM, Mats Nordgren <mats@ronin-group.org> wrote:
I have an interface with a decimal field. It validates fine for 1,2 and 3 fractions but if I enter a decimal with 4 fractions I get validation error "The entered value is not a valid decimal literal."
I'm using the pypi release of bluebream and z3c.form 2.3.2.
Mats
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
-- Brian Sutherland