Suggest
The Suggest fieldtype is a one-stop-solution for managing select/multi-select options. You can populate the options with an explicitly defined list, values and labels from any content folder, any taxonomy type, or all three if you really wanted to.
related:
display: Related Articles
type: suggest
create: true
max_items: 3
content:
folder: blog
label: title
value: url
General Options
create
Allow the creation of new options in addition to the populated list
Default: false
create: true|false
hide_selected
If true, the items that are currently selected will not be shown in the dropdown list of available options.
Default: true
hide_selected: true|false
persist
If false, items created by the user will not show up as available options once they are unselected.
Default: true
persist: true|false
max_items
Limit the number of items that can be selected. If set to 1
, the field becomes a simple select input.
Default: 1000
max_items: 1|100|1000
sort_dir
Sort direction (“asc” or “desc”).
Default: asc
sort_dir: asc|desc
allow_blank
Add a blank option to the field to allow for a blank selection.
Default: false
allow_blank: true
placeholder
Placeholder text to be displayed when no selection is made.
Default: false
placeholder: "Please select a value"