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

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

Đang mở
#618 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
879
Fork
327
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.