re: Currency Input Masking with Cleave.js and Money gem in Ruby On Rails VIEW POST

FULL DISCUSSION
 

Cleave.js is really really good.

I just started using it over the weekend. Not only does it work for currency formatting but it excels at formatting credit card information too (card number, exp date and security code), and even has callbacks for giving you back the card type based on the first few digits of the card. Perfect for ferrying over that data to Stripe or another gateway.

code of conduct - report abuse