diff --git a/src/T4webBase/InputFilter/Element/Element.php b/src/T4webBase/InputFilter/Element/Element.php index e1e582d..7b469d4 100644 --- a/src/T4webBase/InputFilter/Element/Element.php +++ b/src/T4webBase/InputFilter/Element/Element.php @@ -23,15 +23,15 @@ public function __construct($name = '') { } } - public function isValid($context = null) { - $result = parent::isValid($context); + // public function isValid($context = null) { + // $result = parent::isValid($context); - if (!$result) { - $this->value = $this->defaultValue; - } + // if (!$result) { + // $this->value = $this->defaultValue; + // } - return $result; - } + // return $result; + // } public function isDefaultValue() { return $this->value === $this->defaultValue;