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

in the paper-input, tabindex attribute is applied to the container not the input

Aperta
#618 1 commento 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

when creating a paper-input element like
```
{{paper-input
value=email
label='email'
class="flex-100 md-block"
tabindex='1'
type="email"
autofocus="true"
onChange=(action (mut email))
required=true
}}
```
the created html looks like
```html

email




````

so the problem here is the tabindex value is applied to the md-input-container element rather than passed through to the input element. That has the effect of tabbing landing on the label and the next tab landing on the input (two tabs), rather than directly on the input (one tab).

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.