protected function getSelectedValueForMenu(Field $field)
    {
        $valueAccessor = $this->getFieldValueAccessor($field);

        if ($field->isMultipleAnswers()) {
            return $this->getMultipleSelectedValue($field->name, $valueAccessor, $field->htmlValue);
        }

        return $this->getSelectedValue($field->name, $valueAccessor, $field->htmlValue);
    }