Hello everyone
I have a website which contains different tabs in the blueprint. In these tabs are different fields, but the structure field in the second tab seems to cause an error. If I delete it or replace the first one with the second one, everything works.
Cannot read properties of undefined (reading 'dispatch')
In my local environment and on our hosting the editing works fine.
Only on the foreign hosting I get an error message.
This is how the panel looks like
And this is the blueprint
title: Nutzfahrzeuge
icon: sort
tabs:
content:
label: Inhalt
icon: dashboard
columns:
main:
width: 1/3
fields:
titel:
type: text
text:
type: textarea
size: medium
blocks:
type: blocks
fieldsets:
text:
label: Text
type: group
fieldsets:
heading:
extends: blocks/heading
fields:
customId:
label: ID
type: text
- text
- table
- timeline
- code
- button:
extends: blocks/button
media:
label: Media
type: group
fieldsets:
- image
- gallery
- video
sidebar:
width: 2/3
fields:
miete_nutzfahrzeuge:
label: Miete Nutzfahrzeuge
type: structure
fields:
dauer:
max: 1
type: multiselect
options:
1/2 Tag: 1/2 Tag
1-2 Tage: 1-2 Tage
3-6 Tage: 3-6 Tage
7-30 Tage: 7-30 Tage
1 Monat: 1 Monat
2-11 Monate: 2-11 Monate
ab 12 Monaten: ab 12 Monaten
width: 1/4
km:
label: Km/Tag
type: text
width: 1/4
preis:
label: Preis/Tag
type: text
width: 1/4
text:
type: text
width: 1/4
nutzfahrzeuge:
label: Nutzfahrzeuge
icon: car
columns:
main:
width: 2/3
fields:
nutzfahrzeuge:
label: Nutzfahrzeuge
type: structure
fields:
fahrzeug:
type: text
width: 1/4
slug:
type: slug
width: 1/4
sync: fahrzeug
bild:
type: files
multiple: false
width: 1/4
toggle:
label: Verfügbar?
type: toggle
text:
- "Nein"
- "Ja"
width: 1/4
ausstattung:
type: text
width: 1/2
kraftstoff:
max: 1
type: multiselect
options:
Verbrenner: Verbrenner
Elektro: Elektro
width: 1/4
kraftstoff2:
max: 1
type: multiselect
options:
Verbrenner: Verbrenner
Elektro: Elektro
width: 1/4
sidebar:
width: 1/3
fields:
bilder_grossraum:
label: Bilder Grossraum
type: files
template: image
In the frontend everything works fine: https://carabo-sursee.ch
Does anyone see where I made the mistake?