Browse Source

Hide formula fields from filter expressions until they can be searched

pull/4023/head
Andrew Kingston 5 years ago
parent
commit
f6cd99166a
  1. 2
      packages/builder/src/components/design/PropertiesPanel/PropertyControls/FilterEditor/FilterDrawer.svelte

2
packages/builder/src/components/design/PropertiesPanel/PropertyControls/FilterEditor/FilterDrawer.svelte

@ -18,7 +18,7 @@
export let filters = []
export let bindings = []
const BannedTypes = ["link", "attachment"]
const BannedTypes = ["link", "attachment", "formula"]
$: fieldOptions = (schemaFields ?? [])
.filter(field => !BannedTypes.includes(field.type))

Loading…
Cancel
Save