OblikStudio / kirby-link-field

Links field for Kirby.
MIT License
77 stars 10 forks source link

[Panel] URLs are not validated #3

Open dgsiegel opened 5 years ago

dgsiegel commented 5 years ago

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
hdodov commented 4 years ago

There doesn't appear to be official documentation regarding custom field validation. I asked in the Kirby forum.