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

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

未關閉
#618 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
879
分支
327
PR 合併指標
30 天內沒有已合併 PR

描述

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).

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。