public function setValue($value = null, $submittedValue = null)
    {
        if ($submittedValue !== null && $submittedValue === $value) {
            $this->setAttribute('selected');
        } else {
            $this->removeAttribute('selected');
        }

        if ($value === null) {
            //$value = $this->getKey();
        }

        $this->setAttribute('value', $value);
    }