kirby-link-field
kirby-link-field copied to clipboard
required has no effect
required: true does not seem to have an effect on this field. According to the Kirby docs the field has to be filled in correctly to be saved. But it behaves like a normal text field with no validation at all. Would be nice if it would behave like the original Url field.
fields:
button:
label: Button
type: link
required: true
"filled in": easily possible "filled in correctly": difficult
Ideally the field would use the validation of the url, page, email, file or phone field, depending on the type that was selected.
I don't think easy or hard should be the right criteria for this issue :) But I'd expect to either have all the Kirby settings working correctly or to have it documented somewhere, that they are deliberately ignored.
FYI: this issue depends on this core issue: https://github.com/getkirby/ideas/issues/234