private getComboOptions()

in src/wsjfSettings.tsx [49:81]


    private getComboOptions(id, fieldsList, initialField):IComboOptions {
        var that = this;
        return {
            id: id,
            mode: "drop",
            source: fieldsList,
            enabled: true,
            value: that.getFieldName(initialField),
            change: function () {
                that._changeMade = true;
                let fieldName = this.getText();
                let fieldReferenceName: string = (this.getSelectedIndex() < 0) ? null : that.getFieldReferenceName(fieldName);

                switch (this._id) {
                    case "businessValue":
                        that._selectedFields.bvField = fieldReferenceName;
                        break;
                    case "timeCriticality":
                        that._selectedFields.tcField = fieldReferenceName;
                        break;
                    case "rroevalue":
                        that._selectedFields.rvField = fieldReferenceName;
                    case "effort":
                        that._selectedFields.effortField = fieldReferenceName;
                        break;
                    case "wsjf":
                        that._selectedFields.wsjfField = fieldReferenceName;
                        break;
                }
                that.updateSaveButton();
            }
        };
    }