src/aria/widgets/controllers/MultiAutoCompleteController.js
function (value) {
                if (typeUtil.isString(value) || value == null) {
                    return new aria.widgets.controllers.reports.DropDownControllerReport();
                } else {
                    var report = new aria.widgets.controllers.reports.DropDownControllerReport();
                    var dataModel = this._dataModel;
                    var suggestionsToAdd = typeUtil.isArray(value) ? value : [value];
                    report.suggestionsToAdd = this._checkNewSuggestions(suggestionsToAdd);
                    report.value = this.selectedSuggestions;
                    report.text = "";
                    dataModel.text = "";
                    dataModel.value = null;
                    return report;
                }
            }
function (value) {
                if (typeUtil.isString(value) || value == null) {
                    return new aria.widgets.controllers.reports.DropDownControllerReport();
                } else {
                    var report = new aria.widgets.controllers.reports.DropDownControllerReport();
                    var dataModel = this._dataModel;
                    var suggestionsToAdd = typeUtil.isArray(value) ? value : [value];
                    report.suggestionsToAdd = this._checkNewSuggestions(suggestionsToAdd);
                    report.value = this.selectedSuggestions;
                    report.text = "";
                    dataModel.text = "";
                    dataModel.value = null;
                    return report;
                }
            }
function ( value ) { if ( typeUtil . isString ( value ) || value == null ) { return new aria . widgets . controllers . reports . DropDownControllerReport ( ) ; } else { var report = new aria . widgets . controllers . reports . DropDownControllerReport ( ) ; var dataModel = this . _dataModel ; var suggestionsToAdd = typeUtil . isArray ( value ) ? value : [ value ] ; report . suggestionsToAdd = this . _checkNewSuggestions ( suggestionsToAdd ) ; report . value = this . selectedSuggestions ; report . text = "" ; dataModel . text = "" ; dataModel . value = null ; return report ; } }
Check the value selected by the user in the dropdown. It is called by checkKeyStroke.
@param {Object} value
@return {aria.widgets.controllers.reports.ControllerReport}
Check the value selected by the user in the dropdown . It is called by checkKeyStroke .