Hey Kirby Forum,
I’m intending to use file blueprints to organize different types of files on my site. One of those is the following
title: Image
accept:
mime: image/jpeg, image/png, image/svg+xml
fields:
meta: fields/image-meta
the meta field is a simple add-on for saving the alt text for an image:
type: group
fields:
alt:
label: Alternativer Text
type: text
width: 1/2
required: true
All files are getting saved in a page called files that acts as a folder for all files.
So far the setup. Now, if I upload an image on one of my pages with the template set to the shown image blueprint I can’t type any alt text into the corresponding input field. Whenever I try to input a single char I’m getting the message ‘Invalid model type: .’.
Also there’s this error logged to the console in addition to a request with a 400 status code.
Does anyone know how to fix this and make the field for the alt tag functional?