code: function () {
          var self = this, items = self.items();
  
          if (!self.settings.formItemDefaults) {
            self.settings.formItemDefaults = {
              layout: 'flex',
              autoResize: "overflow",
              defaults: { flex: 1 }
            };
          }
  
          // Wrap any labeled items in FormItems
          items.each(function (ctrl) {
            var formItem, label = ctrl.settings.label;
  
            if (label) {
              formItem = new FormItem(Tools.extend({
                items: {
                  type: 'label',
                  id: ctrl._id + '-l',
                  text: label,
                  flex: 0,
                  forId: ctrl._id,
                  disabled: ctrl.disabled()
                }
              }, self.settings.formItemDefaults));
  
              formItem.type = 'formitem';
              ctrl.aria('labelledby', ctrl._id + '-l');
  
              if (typeof ctrl.settings.flex == "undefined") {
                ctrl.settings.flex = 1;
              }
  
              self.replace(ctrl, formItem);
              formItem.add(ctrl);
            }
          });
        }
docs: This method gets invoked before the control is rendered.
  
  @method preRender