Pylons / deform

A Python HTML form library.
Other
416 stars 160 forks source link

Money Input not working #412

Closed nesiax closed 3 years ago

nesiax commented 4 years ago

Hi, I am playing with the MoneyInput under version 2.0.7 and it shows the following error:

jquery.maskMoney-1.4.1.js:166 Uncaught TypeError: Cannot read property 'msie' of undefined at HTMLInputElement.blurEvent (jquery.maskMoney-1.4.1.js:166) at HTMLInputElement.dispatch (jquery-2.0.3.min.js:5) at HTMLInputElement.y.handle (jquery-2.0.3.min.js:5)

The error can be removed following this instructions:

https://stackoverflow.com/a/39225835

However, if I have another mask fields then the non-MoneyInput like the Text Input Masks will not work.

So you can test that easily having just one Colander class with one MoneyInput and one TextInput and you will see the problem.

Thanks.

stevepiercy commented 4 years ago

In what version web browser does this issue occur?

We're working on a release of Deform 3.0, and I would like to resolve this issue for the release.

stevepiercy commented 3 years ago

@nesiax would you please try out the release of Deform 2.0.14 and verify that the fix in #462 solves the issue for you? If there is still a problem, you may reopen this issue.