I’ve just installed a fresh starterkit, and I’m not seeing any tag autocompletion suggestions when I edit any of the example content in the panel. Not sure if I’m missing something obvious…
-
MAMP 4.5
-
Apache
-
PHP 7.2.1
Thanks!
I’ve just installed a fresh starterkit, and I’m not seeing any tag autocompletion suggestions when I edit any of the example content in the panel. Not sure if I’m missing something obvious…
MAMP 4.5
Apache
PHP 7.2.1
Thanks!
I think autocompletion only works or makes sense if you set the options attribute: https://getkirby.com/docs/reference/panel/fields/tags#predefined-autocomplete-options, not when tags is simply set to true. Options can be set manually or dynamically, as explained in the docs.
Also, you can decide if you want to limit entries to the set options, or if you want to still allow other entries (the latter is the default).
For example, if you change the tags field definition in the note.yml blueprint from tags: true
to
tags:
options:
- blue
- green
- red
autocompletion will kick in.
Thank you! I wasn’t reading the manual closely enough… I understand now! I was assuming similar indexing behavior to Kirby 2… my bad.