Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty message doesn't work for DataTable #140

Closed
Kameecoding opened this issue Jan 12, 2020 · 1 comment
Closed

Empty message doesn't work for DataTable #140

Kameecoding opened this issue Jan 12, 2020 · 1 comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted

Comments

@Kameecoding
Copy link

Kameecoding commented Jan 12, 2020

Version: "primevue": "^1.0.0-rc.6",

<DataTable :value="[]">
<template #empty>
    No records found
</template>
<Column field="vin" header="Vin"></Column>
</DataTable>

Expected Table with empty message: No records found.

Actual:
<div class="p-datatable-wrapper"><table role="grid"><thead class="p-datatable-thead"><tr><th tabindex="-1" class=""><!----><!----><span class="p-column-title">Vin</span><!----><!----><!----></th></tr></thead><tbody class="p-datatable-tbody"><tr class="p-datatable-emptymessage"><td colspan="1"></td></tr></tbody><!----></table></div>

Example:
https://github.com/Kameecoding/datatable

@cagataycivici cagataycivici added the Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted label Jan 13, 2020
@cagataycivici
Copy link
Member

Please see;

#137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted
Projects
None yet
Development

No branches or pull requests

2 participants