assisrafael/angular-input-masks

ui-number-mask changes the input value when mask is changed.

Aberta

#306 aberto em 7 de out. de 2017

 (2 comentários) (0 reação) (0 responsável)JavaScript (330 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (955 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

If ui-number-mask is changed dinamically ex.: <input type="text" ui-number-mask="cntrl.decimals" ng-model="entity.quantity"

Suppose decimals is 0 and quantity is 333. If decimals changes do 2 lets say, then the input shows 3,33 when I think it should show 333,00, meaning, the value should not change, just the mask.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Guia do colaborador