code: def set_current_value(self, value):
          '''
          Sets the current value of the field
  
          :param value: value to set
          :return: rendered value
          '''
          self._current_value = value
          self._current_rendered = self._encode_value(self._current_value)
          return self._current_renderef set_current_value(self, value):
          '''
          Sets the current value of the field
  
          :param value: value to set
          :return: rendered value
          '''
          self._current_value = value
          self._current_rendered = self._encode_value(self._current_value)
          return self._current_rendered
docs: Sets the current value of the field
  
          :param value: value to set
          :return: rendered value