code: function setCheckedList(indexArray) {
      if (indexArray) {
          this.state.items.forEach((item) => {
              item.checked = false;
          });
  
          indexArray.forEach((index) => {
              this.setCheckedItem(index);
          });
  
          this.processAfterStateChange(indexArray);
      }
  }
docs: Set the list of options by their index
  @param {Array} indexArray