You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filling the input through the browsers autocomplete doesn't update the model, neither fires the ngModelChange event. Whereas the change event is called but the input value is malformatted.
changeEvent($event) {
// Absolute value picked from the autocomplete
// e.g. 10, while if 10 is typed, gives the value 0.10
console.log($event.target.value);
}
// Never called for autocomplete
modelChangeEvent() {
...
}
Expected
To autocomplete input update the model with the formatted value
Description
Filling the input through the browsers autocomplete doesn't update the model, neither fires the ngModelChange event. Whereas the change event is called but the input value is malformatted.
Example
html
.ts
Expected
To autocomplete input update the model with the formatted value
Versions
"ngx-currency": "^2.0.0"
Firefox:
76.0.1
Chrome:
81.0.4044.138
OS:
Ubuntu 20.04 LTS
The text was updated successfully, but these errors were encountered: