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

Tooltips for {{paper-input}}

Đang mở
#1,087 2 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ả

Hi there!

I'm trying to implement a tooltip feature for the paper-input component. I'm not able to get it to render when placed inside of the `label` tag. When I move it out of the `label` tag it renders without any problems.

Is there any reason for this? I've tried playing around with various css properties without any success.

![image](https://user-images.githubusercontent.com/3945623/58709317-e823e180-8387-11e9-8ddc-21ead238d426.png)

```hbs
{{#if label}}

{{label}}

{{#if tooltip}}
{{#paper-icon "info"}}
{{#paper-tooltip position="right"}}{{tooltip}}{{/paper-tooltip}}
{{/paper-icon}}
{{/if}}

{{/if}}
```

Cheers!

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.