src/components/select.js
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;
          }
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;
          }
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 ; }
Returns only input fields we are interested in.
Returns only input fields we are interested in .