Angular 2

时间:2016-06-23 16:06:25

标签: html5 typescript angular primeng

我在一个角度2 Web应用程序中使用下拉指令进行输入。我试图避免使用标签,所以我也想实现工具提示组件。因此,当我将鼠标悬停在下拉列表项上时,会弹出一个工具提示。

工具提示将显示,但会导致崩溃然后消失。以下是错误消息:enter image description here

这是我的代码:

<p-dropdown pTooltip="Who can see this file?" 
    #selectedType [options]="types" 
    (onChange)="changeAccess(file, selectedType.value)">
</p-dropdown>

tooltip指令适用于简单的输入,但似乎没有别的。

0 个答案:

没有答案
相关问题