Skip to content

Commit

Permalink
fix filter issue in table
Browse files Browse the repository at this point in the history
  • Loading branch information
hhaensel committed Dec 29, 2023
1 parent 748684f commit 842caae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Tables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -247,16 +247,16 @@ function table( fieldname::Symbol,
kwargs...) :: ParsedHTMLString

if filter !== nothing
filter_input = """
filter_input = [ParsedHTMLString("""
<template v-slot:top-right>
<q-input dense debounce="300" v-model="$filter" placeholder="Search">
<template v-slot:append>
<q-icon name="search" />
</template>
</q-input>
</template>
"""
args = tuple(pushfirst!([args...], filter_input)...)
""")]
args = [args..., filter_input]
end

q__table(args...;
Expand Down

0 comments on commit 842caae

Please sign in to comment.