I have placed a currency input mask on the textbox.
But when the form is submitted, the leading '$' sign and the separating commas need to be removed so that the value can be binded to as a decimal.
Here is how I set the autoUnmask as described in here.
$('[data-mask="currency"]').inputmask({alias:"currency",'autoUnmask':true});
which doesn't appear effective.
What is the correct way to set up autoUnmask
?