kirby-link-field icon indicating copy to clipboard operation
kirby-link-field copied to clipboard

The field type "hash" does not exist

Open janstieler opened this issue 2 years ago • 3 comments

Hi, I try to generate a block only with your field. But I got the error

The field type "hash" does not exist

Here is my blueprint

name: Link Block
icon: url
fields:
  link:
    type: link
    label: Link
    linkTypes:
      - page
      - url
    settings:
      popup:
        width: 1/3
        label: External Link
        help: Open link in a new tab?
      text:
        width: 2/3
      hash: true

janstieler avatar Aug 01 '22 17:08 janstieler

Could you try removing the hash: true part and see if it works?

hdodov avatar Aug 02 '22 04:08 hdodov

Hi, thnks for your fast reply! Yes if I remove it, it works. Thanks. But only for usability, should it not also work with true if you use a bool?

janstieler avatar Aug 02 '22 13:08 janstieler

It makes sense to work if you pass a bool as well, I agree. I'll add it at some point, so we should keep this issue open. I wanted to help you out first and I'm glad it worked.

hdodov avatar Aug 02 '22 19:08 hdodov