Browse Source

Merge pull request #5647 from nocodb/fix/5632-shared-form-filter

Fix: GUI - Enable filter value field in shared view
pull/5669/head
Raju Udava 2 years ago committed by GitHub
parent
commit
2cf750973a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue

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

@ -2,8 +2,9 @@
import type { ColumnType } from 'nocodb-sdk' import type { ColumnType } from 'nocodb-sdk'
import { storeToRefs } from 'pinia' import { storeToRefs } from 'pinia'
import { import {
ActiveCellInj,
ColumnInj, ColumnInj,
EditModeInj, IsFormInj,
ReadonlyInj, ReadonlyInj,
computed, computed,
isBoolean, isBoolean,
@ -182,6 +183,10 @@ const hasExtraPadding = $computed(() => {
isYear(column.value, abstractType)) isYear(column.value, abstractType))
) )
}) })
// provide the following to override the default behavior and enable input fields like in form
provide(ActiveCellInj, ref(true))
provide(IsFormInj, ref(true))
</script> </script>
<template> <template>

Loading…
Cancel
Save