Browse Source

feat(nc-gui): add min width for filter value

pull/5106/head
Wing-Kam Wong 2 years ago
parent
commit
ffaec299ec
  1. 4
      packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue

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

@ -148,7 +148,7 @@ const selectFilterField = (filter: Filter, index: number) => {
isComparisonOpAllowed(filter, compOp), isComparisonOpAllowed(filter, compOp),
)?.[0].value )?.[0].value
// reset filter value as well // reset filter value as well
filter.value = "" filter.value = ''
saveOrUpdate(filter, index) saveOrUpdate(filter, index)
} }
@ -276,7 +276,7 @@ defineExpose({
<LazySmartsheetToolbarFilterInput <LazySmartsheetToolbarFilterInput
v-else v-else
class="nc-filter-value-select" class="nc-filter-value-select min-w-[120px]"
:column="getColumn(filter)" :column="getColumn(filter)"
:filter="filter" :filter="filter"
@update-filter-value=" @update-filter-value="

Loading…
Cancel
Save