adopted-ember-addons / adopted-ember-addons/ember-paper

paper-chips inside paper-form: form is sent and closed when adding new tag (press Enter)

Aperta
#1,177 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
879
Fork
327
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

`ember-paper` version `1.0.0-beta.35`.

When use `chips` inside a `form`:
```

...


Submit

```

After entering new tag and pressing `Enter` button, form is sent and closed.

It is expected behavior for other components, e.g. `input`, but for `chips` I expect that new tag is added and form is not closed.

As a simple workaround I wrapped `chips` into `div`:
```




```

Is there better solution to solve this issue?

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.