Custom Widget : Formating Input currency

Hi , i want to format my input currency when i press key automaticaly ex
Example

i try to create my custom widget but i doesn’t work. [GITHUB]
[GITHUB]: GitHub - bcherny/format-as-currency: Angular directive to format an input as a currency as the user types

my template

my controller
$scope.value = ‘’ // currency input value**

module require
bcherny/formatAsCurrency

Assets
format-as-currency.js

1 Like

A Tip on displaying CODE/LOGS correctly in Posts:

Do not use the Supplied Buttons above, for some reason they refuse to work correctly, and despite bringing it to Bonitasofts attention, it’s low priority.

To Show Code/Logs correctly use

< code >
your code/log
< /code >

removing the spaces to allow the showing of code/logs correctly as here:

your code/log

Thanks and regards
Seán

it’s cool like that