code: function(components) {
              var fields = [];
              FormioUtils.eachComponent(components, function(component) {
                if (component.key && component.input && (component.type !== 'button') && component.key !== $scope.component.key) {
                  var comp = _clone(component);
                  if (!comp.label) {
                    comp.label = comp.key;
                  }
                  fields.push(comp);
                }
              });
              return fields;
            }
docs: Returns only input fields we are interested in.