Browse Source

fix(gui): use activecell injection instead of editenabled since it needs to work same as a form

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5647/head
Pranav C 1 year ago
parent
commit
c5ec077d9c
  1. 4
      packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue

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

@ -2,8 +2,8 @@
import type { ColumnType } from 'nocodb-sdk'
import { storeToRefs } from 'pinia'
import {
ActiveCellInj,
ColumnInj,
EditModeInj,
IsFormInj,
ReadonlyInj,
computed,
@ -185,7 +185,7 @@ const hasExtraPadding = $computed(() => {
})
// provide the following to override the default behavior and enable input fields like in form
provide(EditModeInj, ref(true))
provide(ActiveCellInj, ref(true))
provide(IsFormInj, ref(true))
</script>

Loading…
Cancel
Save