@hostlink/nuxt-light 0.0.96 → 0.0.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json
CHANGED
|
@@ -339,7 +339,7 @@ const getFilterValue = () => {
|
|
|
339
339
|
|
|
340
340
|
props.columns?.forEach((col) => {
|
|
341
341
|
if (col.searchable) {
|
|
342
|
-
if (filters.value[col.name]) {
|
|
342
|
+
if (filters.value[col.name] != null && filters.value[col.name] != "") {
|
|
343
343
|
|
|
344
344
|
if (col.searchType == "number") {
|
|
345
345
|
f[col.name] = filters.value[col.name]
|
|
@@ -452,7 +452,7 @@ const filterFn = (val, update, abort) {
|
|
|
452
452
|
</pre>
|
|
453
453
|
rows:{{ props.rows }}
|
|
454
454
|
</template>
|
|
455
|
-
|
|
455
|
+
|
|
456
456
|
<q-table v-bind="attrs" :row-key="rowKey" :loading="loading" :rows="rows" ref="table" @request="onRequest"
|
|
457
457
|
:rows-per-page-label="$t(props.rowsPerPageLabel)" :columns="renderColumns"
|
|
458
458
|
:rows-per-page-options="rowsPerPageOptions" :selection="selection" v-model:pagination="pagination" :filter="filter">
|
|
@@ -516,8 +516,7 @@ const filterFn = (val, update, abort) {
|
|
|
516
516
|
|
|
517
517
|
<template v-if="col.searchType == 'select'">
|
|
518
518
|
<q-select dense v-model="filters[col.name]" @update:model-value="onFilters" clearable
|
|
519
|
-
:options="col.searchOptions"
|
|
520
|
-
:multiple="col.searchMultiple" />
|
|
519
|
+
:options="col.searchOptions" emit-value map-options :multiple="col.searchMultiple" />
|
|
521
520
|
|
|
522
521
|
</template>
|
|
523
522
|
|