Skip to content

Commit

Permalink
Allow for custom values (operation is not being returned)
Browse files Browse the repository at this point in the history
  • Loading branch information
heidmotron committed Sep 6, 2024
1 parent d56b2f9 commit 145f00d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/VariableEditor/VariableEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export class VariableEditor extends CustomVariableSupport<VariableDataSource> {
<AsyncSelect
defaultOptions
cacheOptions
allowCustomValue={true}
defaultValue={query ? { label: query.attributeKey, value: query.attributeKey } : undefined}
loadOptions={loadOptions}
onChange={(v) => {
Expand Down

0 comments on commit 145f00d

Please sign in to comment.