Skip to content

Commit

Permalink
Accept custom database names in query editor (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
flobernd authored Jun 5, 2023
1 parent fe86db7 commit 20d4e78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ export function QueryEditor({ datasource, query, onChange, onRunQuery }: Props)
onChange={onDatabaseChange}
value={ databaseRef ? { label: databaseRef.current!, value: databaseRef.current! } : undefined }
isClearable
isSearchable={false}
isSearchable={true}
allowCustomValue={true}
/>
</InlineField>
<SQLEditor
Expand Down

0 comments on commit 20d4e78

Please sign in to comment.