Choices
foreach ($page->fruits()->toChoices() as $fruit) {
echo $fruit;
}
Choices is a plugin that provides methods to manage field options in the frontend. For any field – like select, multiselect or checkboxlist – that offers options settings in the blueprint, this plugin will load and return the readable text values for the keys stored in the content file. It works with static options directly set in the blueprint as well as dynamic ones loaded via query or api settings.
Related plugins
Field Ecco
by Bruno Meilick
Tree Methods
by hana+nils
Chopper
by Hash&Salt
Byline
by David Somers
KirbytextWrap
by Yoan Malié
Other plugins by hana+nils

Colors
by hana+nils
Date Methods
by hana+nils
List Methods
by hana+nils
Methods Folder
by hana+nils
snippetWhen Helper
by hana+nils

Structure: Textarea Preview
by hana+nils

Tiles
by hana+nils
Tracker
by hana+nils
Tree Methods
by hana+nils
Type Methods
by hana+nils

XSLT Templates
by hana+nils