{suggestion}
; } onSuggestionFetch = async ({ value }: { value: string }) => { const sugg = await this.getKeySuggestions(value); runInAction(() => { this.suggestions = sugg; }); } @action onSuggestionClear = () => { this.suggestions = []; } @action setValue = (value: string) => { this.document._pivotField = value; return true; } @action toggleSort = () => { this.document._columnsSort = this.document._columnsSort === "descending" ? "ascending" : this.document._columnsSort === "ascending" ? undefined : "descending"; } @action resetValue = () => { this._currentKey = this.pivotField; }; render() { return (