src/aria/widgets/form/list/ListController.js
function () {
            var selected = [];
            var items = this._data.items;
            for (var i = 0; i < items.length; i++) {
                if (!items[i].initiallyDisabled) {
                    selected.push(items[i].value);
                }
            }
            this.setSelectedValues(selected);
            if (this._data) {
                this.json.setValue(this._data, "focusIndex", 0);
            }
        }
function () {
            var selected = [];
            var items = this._data.items;
            for (var i = 0; i < items.length; i++) {
                if (!items[i].initiallyDisabled) {
                    selected.push(items[i].value);
                }
            }
            this.setSelectedValues(selected);
            if (this._data) {
                this.json.setValue(this._data, "focusIndex", 0);
            }
        }
function ( ) { var selected = [ ] ; var items = this . _data . items ; for ( var i = 0 ; i < items . length ; i ++ ) { if ( ! items [ i ] . initiallyDisabled ) { selected . push ( items [ i ] . value ) ; } } this . setSelectedValues ( selected ) ; if ( this . _data ) { this . json . setValue ( this . _data , "focusIndex" , 0 ) ; } }
Selects all values in order that they are stored in the datamodel. If any values are initially disabled they
will not be selected. If a value becomes disabled due to the maxOptions constraint then they will not be
selected.
Selects all values in order that they are stored in the datamodel . If any values are initially disabled they will not be selected . If a value becomes disabled due to the maxOptions constraint then they will not be selected .