Update data provider select to use safe binding options

This commit is contained in:
Andrew Kingston 2021-03-22 12:11:12 +00:00
parent e62a6b92b4
commit 8ca61404d9
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<script>
import { Select } from "@budibase/bbui"
import { makePropSafe } from "@budibase/string-templates"
import { currentAsset, store } from "builderStore"
import { findComponentPath } from "builderStore/storeUtils"
@ -16,7 +17,7 @@
<option value="">Choose option</option>
{#if providers}
{#each providers as component}
<option value={`{{ literal ${component._id} }}`}>
<option value={`{{ literal ${makePropSafe(component._id)} }}`}>
{component._instanceName}
</option>
{/each}