fix: restrict non value fieldtypes for quick filter options
This commit is contained in:
parent
6973d782f8
commit
63dbe6cae7
@ -723,7 +723,18 @@ const quickFilterOptions = computed(() => {
|
||||
let fields = getFields()
|
||||
if (!fields) return []
|
||||
|
||||
let restrictedFieldtypes = ['Tab Break', 'Section Break', 'Column Break']
|
||||
let restrictedFieldtypes = [
|
||||
'Tab Break',
|
||||
'Section Break',
|
||||
'Column Break',
|
||||
'Table',
|
||||
'Table MultiSelect',
|
||||
'HTML',
|
||||
'Button',
|
||||
'Image',
|
||||
'Fold',
|
||||
'Heading',
|
||||
]
|
||||
let options = fields
|
||||
.filter((f) => f.label && !restrictedFieldtypes.includes(f.fieldtype))
|
||||
.map((field) => ({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user