i have try to extend the advanced panel area sample (Advanced Panel area | Kirby CMS) with an image field. In the dialogs folder is an fields.php file. When i click “add product” on the plugin page, a popup open and i see a files area. If i try to select or upload a file, i’ll get an error: Cannot read properties of undefined (reading ‘field’)
I was looking to achieve the same and stumbled on the same error: Cannot read properties of undefined (reading ‘field’).
Maybe @texnixe or @distantnative could help us to find out where the field properties have to be defined. I imagine, for virutal page, we need do define what happen when: