diff --git a/components/x-elements/x-selector.html b/components/x-elements/x-selector.html index 816a0cc902..c7b5b1d00b 100644 --- a/components/x-elements/x-selector.html +++ b/components/x-elements/x-selector.html @@ -68,8 +68,13 @@ get items() { if (!this._items) { - this._items = - Array.prototype.slice.call(this.querySelectorAll(this.selectable), 0) + var nodes; + if (this.selectable) { + nodes = this.querySelectorAll(this.selectable); + } else { + nodes = this.children; + } + this._items = Array.prototype.slice.call(nodes, 0); } return this._items; },