Beginnings of autocomplete for headers

This commit is contained in:
Gregory Schier
2023-03-17 16:51:20 -07:00
parent 4181d87792
commit 0647001807
17 changed files with 155 additions and 48 deletions

View File

@@ -24,7 +24,11 @@ export function UrlBar({ sendRequest, loading, onMethodChange, method, onUrlChan
>
<Input
hideLabel
useEditor={{ useTemplating: true, contentType: 'url' }}
useEditor={{
useTemplating: true,
contentType: 'url',
autocompleteOptions: [{ label: 'FOO', type: 'constant' }],
}}
className="px-0"
name="url"
label="Enter URL"