code: public function getValue()
      {
          $widgets = $this->getWidgets();
          for ($i = 0, $count = count($widgets); $i < $count; $i++) {
              if ($widgets[$i]->getValue() !== false) {
                  return $widgets[$i]->getValue();
              }
          }
  
          return false;
      }
docs: Accessor for current selected widget or false if none.
  
  @return string/boolean   Value attribute or content of opton.