src/aria/widgets/controllers/AutoCompleteController.js
function () {
                var freeTxtStatus = false, dataListContent = this._dataModel.listContent;
                for (var i = 0, len = dataListContent.length; i < len; i += 1) {
                    if (this._dataModel.text === dataListContent[i].value.label) {
                        freeTxtStatus = true;
                        break;
                    }
                }
                return freeTxtStatus;
            }
function () {
                var freeTxtStatus = false, dataListContent = this._dataModel.listContent;
                for (var i = 0, len = dataListContent.length; i < len; i += 1) {
                    if (this._dataModel.text === dataListContent[i].value.label) {
                        freeTxtStatus = true;
                        break;
                    }
                }
                return freeTxtStatus;
            }
function ( ) { var freeTxtStatus = false , dataListContent = this . _dataModel . listContent ; for ( var i = 0 , len = dataListContent . length ; i < len ; i += 1 ) { if ( this . _dataModel . text === dataListContent [ i ] . value . label ) { freeTxtStatus = true ; break ; } } return freeTxtStatus ; }
Checks the displayed text is available in the returned suggestion, this will apply only in case of
freetext is set to false
@param {Object} value
@return {Boolean}
Checks the displayed text is available in the returned suggestion this will apply only in case of freetext is set to false