GitHub Download

Tags dropdown

The tags dropdown can be used for a situations where you want to allow users to use a specific relation to the given tag.

It can be used e.g. to specify tag which will be used to create posts listing:

     "name": "listingTag",
     "label": "Post listing",
     "group": "Layout",
     "note": "Creates a list of posts with the selected tag",
     "value": "",
     "type": "tags-dropdown",
"multiple": false }
Tags dropdown list

The tags dropdown returns the ID of the selected tag as a value so it should be connected with use of the getPostsByTag or getPostByTag helpers. If the multiple option is set to true, then string with IDs separated by comma is returned.


Get the latest Publii news, updates and more delivered directly to your email inbox

You can change your mind at any time by clicking the unsubscribe link in the footer of any email you receive from us, or by contacting us at By clicking below, you agree that we may process your information in accordance with our Privacy Policy.