kirby
kirby copied to clipboard
Consistent styling for invalid fields (e.g. empty required)
Description
As discussed in https://forum.getkirby.com/t/required-field-on-block-blueprint-image-not-shows-as-invalid/24793?u=teichsta i realised an inconsistend behaviour of required fields. Some fields like pages, files and text do show a nice red border indicating the required attribute. Other fields like writer and textarea don't
Expected behavior
All field types should show the red border indicating the required attribute for better UX.
Screenshots
banner_image:
label: field.blocks.image.name
type: files
multiple: false
required: true
image:
back: black
uploads:
template: poolfile
credits:
label: Quellenangabe
type: writer
inline: true
icon: text
required: true
Your setup
Kirby Version
kirby 3.5.7.1 and 3.6.2
This issue has been automatically marked as stale because it has not had recent activity. This is for us to prioritize issues that are still relevant to our community. It will be closed if no further activity occurs within the next 14 days. If this issue is still relevant to you, please leave a comment.
This issue has been automatically marked as stale because it has not had recent activity. This is for us to prioritize issues that are still relevant to our community. It will be closed if no further activity occurs within the next 14 days. If this issue is still relevant to you, please leave a comment.
Solved with v4