delete (name) {
    let index = this.items.findIndex(({ name: _name }) => _name === name)
    while (index !== -1) {
      this.items.splice(index, 1)
      index = this.items.findIndex(({ name: _name }) => _name === name)
    }
  }
Delete value with name.

@param {string} name
@api public