I have defined a Checkbox field in the blueprint and get this with a foreach loop, but how can I use the Kirby field methods with this as it’s a string now?
$wohnbereiche = $motive->pluck('wohnbereiche', ',', true);
foreach ( $wohnbereiche AS $wohnbereich ) {
echo $wohnbereich; // working
echo $wohnbereich->slug(); // not working cause it's a string
}