Smart table not updating with `table-filter-value`
TECH7Fox opened this issue · 1 comments
TECH7Fox commented
I'm trying to use the pro smart table with our own filter input, but I can't get the table to update when the table-filter-value changes. Is there another way to filter the table with my own input, or is this actually a bug? The table updates with column filters, so I assume the table filter should do the same right?
OS: Ubuntu (Linux)
Browser: Firefox
Simplified example:
<input @update="UpdateSearch"/>
{{ page.search }} <-- THIS GETS UPDATED
<c-smart-table
:items="contactItems"
:columns="tableColumns"
:items-per-page="page.amount"
:active-page="page.current"
:table-filter-value="page.search" <-- THIS DOES NOT UPDATE THE TABLE
>
<script>
const page: Page = reactive({
amount: 15,
current: 1,
search: "",
});
const UpdateSearch = (query: string) => {
page.search = query;
}
</script>
github-actions commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions