src/Fields/MultiValueCheckboxField.php
public function dataValue()
    {
        if ($this->value && is_array($this->value)) {
            $filtered = [];
            foreach ($this->value as $item) {
                if ($item) {
                    $filtered[] = str_replace(",", "{comma}", $item);
                }
            }

            return implode(',', $filtered);
        }

        return '';
    }
public function dataValue()
    {
        if ($this->value && is_array($this->value)) {
            $filtered = [];
            foreach ($this->value as $item) {
                if ($item) {
                    $filtered[] = str_replace(",", "{comma}", $item);
                }
            }

            return implode(',', $filtered);
        }

        return '';
    }
public function dataValue ( ) { if ( $ this -> value && is_array ( $ this -> value ) ) { $ filtered = [ ] ; foreach ( $ this -> value as $ item ) { if ( $ item ) { $ filtered [ ] = str_replace ( "," , "{comma}" , $ item ) ; } } return implode ( ',' , $ filtered ) ; } return '' ; }
Return the CheckboxSetField value as a string
selected item keys.

@return string
Return the CheckboxSetField value as a string selected item keys .