updateResult() {
      if (self.result) {
        self.result.area.setValue(self);
      } else {
        if (self.perregion) {
          const area = self.completion.highlightedNode;
          if (!area) return null;
          area.setValue(self);
        } else {
          self.completion.createResult({}, { choices: self.selectedValues() }, self, self.toname);
        }
      }
    }
// update result in the store with current selected choices
update result in the store with current selected choices
update result in the store with current selected choices
updateResult() {
      if (self.result) {
        self.result.area.setValue(self);
      } else {
        if (self.perregion) {
          const area = self.completion.highlightedNode;
          if (!area) return null;
          area.setValue(self);
        } else {
          self.completion.createResult({}, { choices: self.selectedValues() }, self, self.toname);
        }
      }
    }
updateResult ( ) { if ( self . result ) { self . result . area . setValue ( self ) ; } else { if ( self . perregion ) { const area = self . completion . highlightedNode ; if ( ! area ) return null ; area . setValue ( self ) ; } else { self . completion . createResult ( { } , { choices : self . selectedValues ( ) } , self , self . toname ) ; } } }
update result in the store with current selected choices
update result in the store with current selected choices