tags adds a field allowing the user to enter one or more tags. The interface will suggest completions for each tag, based on existing
tags for the site.
Usually a doc has only one
tags field, called
tags. You may create an additional field for storing tags, but the autocomplete feature only uses the original
lock option of the
apostrophe-tags module has been set to
true, users cannot create brand-new tags when filling out a
tags field. In this case never-before-seen tags must be created via the "Tags" admin bar button.
By default, tags are converted to lowercase and leading and trailing whitespace is trimmed. This behavior can be overridden by configuring the
filterTag option to a function that accepts a string, filters it as desired, and returns a new string.
|name|| ||Sets the name of the field in the database|
|label|| ||Sets the label of the field that the user sees|
|required|| ||false||If true, the field is mandatory|
|contextual|| ||false||If true, it will prevent the field from appearing in a dialog box|
|type|| ||Specifies the field type|
|readOnly|| ||false||If true, prevents the user from editing the field|
|help|| ||Help text for the field that will appear with the field's label|
|htmlHelp|| ||Help text with support for HTML markup|
|limit|| ||Sets the number of tags that can be defined in a given field|