render()

in experimenter/experimenter/legacy/legacy-ui/core/js/components/MultiPrefBranchFields.js [28:65]


  render() {
    return (
      <React.Fragment>
        {this.props.renderField(
          "ratio",
          "Branch Size",
          this.props.branch.get("ratio"),
          this.props.errors.get("ratio"),
          BRANCH_RATIO_HELP,
        )}
        {this.props.renderField(
          "name",
          "Name",
          this.props.branch.get("name"),
          this.props.errors.get("name"),
          BRANCH_NAME_HELP,
        )}
        {this.props.renderField(
          "description",
          "Description",
          this.props.branch.get("description"),
          this.props.errors.get("description"),
          BRANCH_DESCRIPTION_HELP,
        )}
        <PrefManager
          preferences={this.props.branch.get("preferences", new List())}
          errors={this.props.errors.get("preferences", new List())}
          onDataChange={(value) => {
            this.props.onChange("preferences", value);
          }}
          onErrorChange={(errors) => {
            this.props.onErrorChange("preferences", errors);
          }}
          variantIndex={this.props.index}
        />
      </React.Fragment>
    );
  }