adding please select option to query type

This commit is contained in:
Martin McKeaveney 2021-01-22 12:11:13 +00:00
parent f1dac763b9
commit 6bb9e0e9fc
2 changed files with 3 additions and 1 deletions

View File

@ -141,7 +141,8 @@
{/each}
</Select>
<Select thin secondary bind:value={query.queryType}>
{#each Object.keys(config[query.queryVerb]) as queryType (queryType)}
<option value={""}>Please select an option</option>
{#each Object.keys(config[query.queryVerb]) as queryType}
<option value={queryType}>{queryType}</option>
{/each}
</Select>

View File

@ -25,6 +25,7 @@
parameters: [],
fields: {},
queryVerb: "read",
queryType: "",
}
</script>