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
my template
<div>
<input format-as-currency ng-model="value" type="text">
</div>
<input format-as-currency ng-model="value" type="text">
</div>
my controller
$scope.value = '' // currency input value**
module require
bcherny/formatAsCurrency
Assets
format-as-currency.js
No answers yet.
Comments
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:
Thanks and regards
Seán
it's cool like that