/** * Does this Inputfield have the requested property or attribute? * * @param string $key * @return bool * */ public function has($key) { $has = parent::has($key); if (!$has) { $has = isset($this->attributes[$key]); } return $has; }