assisrafael/angular-input-masks

Pasting whole number results in wrong formatting when decimals are used.

Offen

#119 geöffnet am 10.09.2015

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (330 Forks)batch import
help wantedneeds: more info

Repository-Metriken

Stars
 (955 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

We are using ui-money-mask directive with 2 decimals.

When the user pastes whole numbers like 123456 in the text box, the last 2 digits are taken to be decimals by the directive. So the value in the text box becomes $ 1234.56 which is not what the user expects. This is clearly a defect for us but I am not sure if you would consider this as a general defect or as designed?

Contributor Guide