Browse Source

enhancement: use autocomplete in sort or filter fields

re #2180

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2191/head
Pranav C 3 years ago
parent
commit
b87e18e688
  1. 4
      packages/nc-gui/components/project/spreadsheet/components/ColumnFilter.vue
  2. 4
      packages/nc-gui/components/project/spreadsheet/components/SortListMenu.vue

4
packages/nc-gui/components/project/spreadsheet/components/ColumnFilter.vue

@ -92,7 +92,7 @@
</template> </template>
</v-select> </v-select>
<v-select <v-autocomplete
:key="i + '_6'" :key="i + '_6'"
v-model="filter.fk_column_id" v-model="filter.fk_column_id"
class="caption nc-filter-field-select" class="caption nc-filter-field-select"
@ -121,7 +121,7 @@
{{ item.icon }} {{ item.icon }}
</v-icon> {{ item.title }} </v-icon> {{ item.title }}
</template> </template>
</v-select> </v-autocomplete>
<v-select <v-select
:key="'k' + i" :key="'k' + i"
v-model="filter.comparison_op" v-model="filter.comparison_op"

4
packages/nc-gui/components/project/spreadsheet/components/SortListMenu.vue

@ -41,7 +41,7 @@
mdi-close-box mdi-close-box
</v-icon> </v-icon>
<v-select <v-autocomplete
:key="i + 'sel1'" :key="i + 'sel1'"
v-model="sort.fk_column_id" v-model="sort.fk_column_id"
class="caption nc-sort-field-select" class="caption nc-sort-field-select"
@ -71,7 +71,7 @@
{{ item.title }} {{ item.title }}
</span> </span>
</template> </template>
</v-select> </v-autocomplete>
<v-select <v-select
:key="i + 'sel2'" :key="i + 'sel2'"
v-model="sort.direction" v-model="sort.direction"

Loading…
Cancel
Save