Browse Source

fix(gui-v2): bind value property to input

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2860/head
Pranav C 2 years ago
parent
commit
c3b4f0d659
  1. 4
      packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue

4
packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue

@ -218,7 +218,7 @@ defineExpose({
<span v-if="['null', 'notnull', 'empty', 'notempty'].includes(filter.comparison_op)" :key="`span${i}`" /> <span v-if="['null', 'notnull', 'empty', 'notempty'].includes(filter.comparison_op)" :key="`span${i}`" />
<a-checkbox <a-checkbox
v-else-if="types[filter.field] === 'boolean'" v-else-if="types[filter.field] === 'boolean'"
v-model:value="filter.value" v-model:checked="filter.value"
size="small" size="small"
dense dense
:disabled="filter.readOnly" :disabled="filter.readOnly"
@ -227,7 +227,7 @@ defineExpose({
<a-input <a-input
v-else v-else
:key="`${i}_7`" :key="`${i}_7`"
v-model="filter.value" v-model:value="filter.value"
size="small" size="small"
class="caption nc-filter-value-select" class="caption nc-filter-value-select"
:disabled="filter.readOnly" :disabled="filter.readOnly"

Loading…
Cancel
Save