From 92d2e28ed69611fdea855b1919e88b54043dbb9c Mon Sep 17 00:00:00 2001 From: Abhinav Anand <6172555+abnvanand@users.noreply.github.com> Date: Tue, 14 Jan 2025 22:23:04 +0530 Subject: [PATCH] Allow sorting events API results by a custom field (#403) --- src/components/query-editor/EventsEditor.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/query-editor/EventsEditor.tsx b/src/components/query-editor/EventsEditor.tsx index 4d0e369..661a2bc 100644 --- a/src/components/query-editor/EventsEditor.tsx +++ b/src/components/query-editor/EventsEditor.tsx @@ -52,6 +52,7 @@ export const EventsEditor = ({ query, onChange, onRunQuery }: EventsEditorProps) onChange={(e) => onEventsSortChange(e?.value!)} className="inline-element" placeholder={selectors.components.QueryEditor.Events.Sort.placeholder} + allowCustomValue={true} isClearable={true} />