Add tooltips and custom events demo

pull/973/head
Cagatay Civici 2021-02-08 14:36:34 +03:00
parent dd9eb7d71b
commit 0a27a0ce27
1 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@
{{data.name}}
</template>
<template #filter="{filterModel,filterCallback}">
<InputText type="text" v-model="filterModel.value" @keydown.enter="filterCallback()" class="p-column-filter" placeholder="Search by name"/>
<InputText type="text" v-model="filterModel.value" @keydown.enter="filterCallback()" class="p-column-filter" placeholder="Search by name" v-tooltip.top.focus="'Hit enter key to filter'"/>
</template>
</Column>
<Column header="Country" filterField="country.name">
@ -170,7 +170,7 @@
<span class="image-text">{{data.country.name}}</span>
</template>
<template #filter="{filterModel,filterCallback}">
<InputText type="text" v-model="filterModel.value" @keydown.enter="filterCallback()" class="p-column-filter" placeholder="Search by country"/>
<InputText type="text" v-model="filterModel.value" @input="filterCallback()" class="p-column-filter" placeholder="Search by country" v-tooltip.top.focus="'Filter as you type'"/>
</template>
</Column>
<Column header="Agent" filterField="representative" :showFilterMenu="false">