Hello,
In my version, I've added the possibility to add currency to the mask. Maybe an idea to integrate this?
Regards,
Sven
Sven,
I updated the component to include the CurrencyPrefix. I made it optional by the way.
Note: the reason why it didn't work for me at first was because I forgot to set the Type of my input field in the demo to 'Text'. If you run into the same issue: input type cannot be Number if you use the prefix.
Steven
Hi Sven,
I tried your suggestion, but this doesn't work for me when I use a currency symbol like '€' for example.
Then when I try to enter a value in the field I get javascript warnings and the input is ignored.
Does that work for you, using special currency symbols like '€'?
Sven Persijn wrote:
Hi Steven
In case of not applicability, you can try the input masks library, and it works on my side for both web and mobile
Hi Steven,
I've changed the demo a bit, so this should work. Otherwise, you can have a look at:
https://sven-persijn.outsystemscloud.com/InputMaskReactiveDemo/InputMaskDemo
I could not test the applications you attached because of intellectual property restrictions.
I think you should attach the .oap files separately and not in a zip-file, so that the IP gets stripped automatically.
If the .oap files are in a zip file then OutSystems doesn't remove the IP when you attach them in a forum post.
Steven Decock wrote:
If the .oap files are in a zip file than OutSystems doesn't remove the IP when you attach them in a forum post.
Hereby, the forge component.
And the modified demo.
Thanks for the update!