/** * Render one option tag * * @param string $value value attribute of the option tag (will be escaped) * @param string $label content of the option tag (will be escaped) * @return string the rendered option tag */ protected function renderOptionTag($value, $label) { return parent::renderOptionTag($value, $label, $this->isSelectedAlternative($this->getOptionFromOriginalOptionsByValue($value))); }