diff --git a/Core/Frameworks/Formal/Element/Text.php b/Core/Frameworks/Formal/Element/Text.php index 241511b..0690ef7 100644 --- a/Core/Frameworks/Formal/Element/Text.php +++ b/Core/Frameworks/Formal/Element/Text.php @@ -66,7 +66,7 @@ class Text extends \Formal\Element { $placeholder = " placeholder=\"" . htmlspecialchars($sPlaceHolder) . "\" "; } - $clientvalue = htmlspecialchars($value); + $clientvalue = htmlspecialchars($value ?? ''); $sInputType = $this->inputtype();