protected function getAttributes() { $attributes = parent::getAttributes(); unset($attributes['type']); $attributes['class'][] = 'select2'; $attributes['content'] = $this->getContent(); return $attributes; }
protected function getAttributes() { $attributes = parent::getAttributes(); $attributes['type'] = 'hidden'; return $attributes; }