I have an HTML input:
I want to format its value and use an existi
I think this is a solution for you:
And then in your controller. Currency mark in from value in input:
currencyInputChanged(value) { var num = value.replace(/[$,]/g, ""); return Number(num); }