/**
  * Returns selected key.
  * @return scalar
  */
 public function getValue()
 {
     $this->tryLoadItems();
     return parent::getValue();
 }
 /**
  * Returns selected key.
  * @return scalar
  */
 public function getValue()
 {
     $this->tryLoadItems();
     if ($this->multiple) {
         return array_values(array_intersect($this->value, array_keys($this->items)));
     }
     return parent::getValue();
 }