angular icon indicating copy to clipboard operation
angular copied to clipboard

1.10.0 Breaks with a dependency of formiojs 2.29+

Open cfsilence opened this issue 8 years ago • 4 comments

When using version 1.10 we're seeing an exception thrown because of the dependency on formiojs ^2.28 (which is grabbing 2.29.4 right now):

Formio is not a constructor
    at new FormioService (formio.service.js:9)

Just thought I'd let you know that 1.10 only appears to work with 2.28.0

cfsilence avatar Feb 21 '18 03:02 cfsilence

We fixed this with the latest version of this module. Any reason you cannot upgrade?

travist avatar Feb 21 '18 04:02 travist

I've found that the form fields that utilize ~~currency~~ number masks seem to cut off the value in the latest version - for example, if there is a number value of 150,000.00, when I listen to the form change event and inspect the formio.data object the value is broadcast as "150". Is this a known issue with fields that use text-masks?

Edit: in fact, the ~~currency~~ number fields don't format at all anymore as I type.

cfsilence avatar Feb 21 '18 07:02 cfsilence

This is because we had some backlash from the community for forcing the "delimiter" by default. This can now be added by putting delimiter: true in the JSON of the fields.

travist avatar Feb 21 '18 13:02 travist

Closed due to no activity.

roma-formio avatar Aug 31 '23 13:08 roma-formio