adopted-ember-addons / adopted-ember-addons/ember-inputmask

Issue with numericInput plus update function

Aperta
#145 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
67
Fork
43
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Encountering an issue where you can't enter all the characters into a field without having to move the cursor around. With this example I can only enter the first 4 characters, then to enter the rest I have the move the cursor to the left.

Here's my input mask using ember's built in `mut` action which has the issue:
```html

```
So as an example, the above InputMask only lets you input 1-234 before it gets stuck. This issue only happens with `numericInput=true`, if it's false, it seems to work OK.

Getting rid of `@update` and `@value` removes the issue, but of course now the value doesn't save when you submit the form.
```html

```

Any ideas what might be going on here?

Thanks.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.