Hi, I’ve got a custom block that has a structure field with a required file field inside.
blueprint: block
fields:
cards:
fields:
image:
multiple: false
required: true
type: files
uploads: image
…
type: structure
icon: block-slider
name: Slider
When not adding a file, deleting a previously used file etc, this results in the error message Invalid form with errors, which is not at all a usable error message for the users who edit the content.
Is there a way to manually adjust this sort of error message with a plugin validator or something? Might this even be a bug in kirby itself? It seems to me that error messages, even in blocks, are usually way more descriptive than this
Thanks!