public function setDefaultValue($value) : FormElement
    {
        if (is_array($value)) {
            $value = implode(',', $value);
        }
        parent::setDefaultValue($value);
        return $this;
    }
public function setDefaultValue($value) : FormElement
    {
        if (is_array($value)) {
            $value = implode(',', $value);
        }
        parent::setDefaultValue($value);
        return $this;
    }
public function setDefaultValue ( $ value ) : FormElement { if ( is_array ( $ value ) ) { $ value = implode ( ',' , $ value ) ; } parent :: setDefaultValue ( $ value ) ; return $ this ; }
Sets the default or database value for the element. Overridden to convert arrays to strings.

@param mixed $value The value of the form field.
@return FormElement
Sets the default or database value for the element . Overridden to convert arrays to strings .