updateFromResult(value) {
      self.unselectAll();
      if (!value) return;
      const values = Array.isArray(value) ? value : [value];
      values.map(v => self.findLabel(v)).forEach(label => label.setSelected(true));
    }
/**
     * Change states of tags according to values from result
     * @param {string|string[]} value
     */
Change states of tags according to values from result
@param {string|string[]} value
Change states of tags according to values from result @param { string|string [] } value
updateFromResult(value) {
      self.unselectAll();
      if (!value) return;
      const values = Array.isArray(value) ? value : [value];
      values.map(v => self.findLabel(v)).forEach(label => label.setSelected(true));
    }
updateFromResult ( value ) { self . unselectAll ( ) ; if ( ! value ) return ; const values = Array . isArray ( value ) ? value : [ value ] ; values . map ( v => self . findLabel ( v ) ) . forEach ( label => label . setSelected ( true ) ) ; }
Change states of tags according to values from result
 @param {string|string[]} value
Change states of tags according to values from result @param { string|string [] } value