src/Charcoal/Admin/Property/Input/ReadonlySelectInput.php
public function displayVal()
    {
        $selectedChoices = [];

        foreach ($this->choices() as $choice) {
            if ($this->isChoiceSelected($choice)) {
                $selectedChoices[] = $choice['label'];
                // break;
            }
        }

        return implode(', ', $selectedChoices);
    }
public function displayVal()
    {
        $selectedChoices = [];

        foreach ($this->choices() as $choice) {
            if ($this->isChoiceSelected($choice)) {
                $selectedChoices[] = $choice['label'];
                // break;
            }
        }

        return implode(', ', $selectedChoices);
    }
public function displayVal ( ) { $ selectedChoices = [ ] ; foreach ( $ this -> choices ( ) as $ choice ) { if ( $ this -> isChoiceSelected ( $ choice ) ) { $ selectedChoices [ ] = $ choice [ 'label' ] ; // break; } } return implode ( ', ' , $ selectedChoices ) ; }
Retrieve the selected value and display it.

@return string
Retrieve the selected value and display it .