diff --git a/src/Forms/FormField.php b/src/Forms/FormField.php index 502163b0b..dce2688f8 100644 --- a/src/Forms/FormField.php +++ b/src/Forms/FormField.php @@ -1326,13 +1326,14 @@ class FormField extends RequestHandler */ public function debug() { + $strValue = is_string($this->value) ? $this->value : print_r($this->value, true); return sprintf( '%s (%s: %s : %s) = %s', static::class, $this->name, $this->title, $this->message, - $this->value + $strValue ); }