code: function () {
          var self = this, settings = self.settings, attrs, elm;
  
          attrs = {
            id: self._id,
            hidefocus: '1'
          };
  
          Tools.each([
            'rows', 'spellcheck', 'maxLength', 'size', 'readonly', 'min',
            'max', 'step', 'list', 'pattern', 'placeholder', 'required', 'multiple'
          ], function (name) {
            attrs[name] = settings[name];
          });
  
          if (self.disabled()) {
            attrs.disabled = 'disabled';
          }
  
          if (settings.subtype) {
            attrs.type = settings.subtype;
          }
  
          elm = DomUtils.create(settings.multiline ? 'textarea' : 'input', attrs);
          elm.value = self.state.get('value');
          elm.className = self.classes;
  
          return elm.outerHTML;
        }
docs: Renders the control as a HTML string.
  
  @method renderHtml
  @return {String} HTML representing the control.