/**
  * @param FieldType $fieldType Document field object.
  * @param array $field Form field information.
  * @param mixed $value Field value.
  * @param bool $allowSelection Allow selection flag.
  * @param int $renderMode Control render mode.
  * @return string
  */
 public static function renderControlSingle(FieldType $fieldType, array $field, $value, $allowSelection, $renderMode)
 {
     $value = static::fixUserPrefix($value);
     $renderResult = parent::renderControlSingle($fieldType, $field, $value, false, $renderMode);
     if ($allowSelection) {
         $selectorValue = \CBPActivity::isExpression($value) ? $value : null;
         $renderResult .= static::renderControlSelector($field, $selectorValue, true, 'employee');
     }
     return $renderResult;
 }
 /**
  * @param FieldType $fieldType Document field object.
  * @param array $field Form field information.
  * @param mixed $value Field value.
  * @param bool $allowSelection Allow selection flag.
  * @param int $renderMode Control render mode.
  * @return string
  */
 public static function renderControlSingle(FieldType $fieldType, array $field, $value, $allowSelection, $renderMode)
 {
     static::initControlHelpers();
     return parent::renderControlSingle($fieldType, $field, $value, $allowSelection, $renderMode);
 }