src/Ease/Html/SelectTag.php
public function setValue($value)
    {
        if (trim(strlen($value))) {
            foreach ($this->pageParts as $option) {
                if ($option->getValue() == $value) {
                    $option->setDefault();
                } else {
                    unset($option->tagProperties['selected']);
                }
            }
        } else {
            if (isset($this->pageParts) && count($this->pageParts)) {
                $firstItem = &reset($this->pageParts);
                $firstItem->setDefault();
            }
        }
    }
public function setValue($value)
    {
        if (trim(strlen($value))) {
            foreach ($this->pageParts as $option) {
                if ($option->getValue() == $value) {
                    $option->setDefault();
                } else {
                    unset($option->tagProperties['selected']);
                }
            }
        } else {
            if (isset($this->pageParts) && count($this->pageParts)) {
                $firstItem = &reset($this->pageParts);
                $firstItem->setDefault();
            }
        }
    }
Nastavení hodnoty.

@param string $value nastavovaná hodnota