cleave.js icon indicating copy to clipboard operation
cleave.js copied to clipboard

Inseriting numbers with a prefix reverses the string

Open acataluddi opened this issue 4 years ago • 1 comments

Dear Max,

we found a bug in the component when a prefix is set (in our case, we set the £ sign as a prefix).

More specifically, by inserting a string or number, you get the reversed one (e.g let's say you type 125, the get 521).

This pull request fixes such problem.

Best regards, Adriano C.

acataluddi avatar Sep 18 '20 17:09 acataluddi

Hi @nosir, is there any chance you might review and merge this merge request?

Thanks,
Adriano C.

acataluddi avatar May 22 '23 06:05 acataluddi