Update data provider select to use safe binding options
This commit is contained in:
parent
2d713bed81
commit
d88c91c11a
|
@ -1,5 +1,6 @@
|
||||||
<script>
|
<script>
|
||||||
import { Select } from "@budibase/bbui"
|
import { Select } from "@budibase/bbui"
|
||||||
|
import { makePropSafe } from "@budibase/string-templates"
|
||||||
import { currentAsset, store } from "builderStore"
|
import { currentAsset, store } from "builderStore"
|
||||||
import { findComponentPath } from "builderStore/storeUtils"
|
import { findComponentPath } from "builderStore/storeUtils"
|
||||||
|
|
||||||
|
@ -16,7 +17,7 @@
|
||||||
<option value="">Choose option</option>
|
<option value="">Choose option</option>
|
||||||
{#if providers}
|
{#if providers}
|
||||||
{#each providers as component}
|
{#each providers as component}
|
||||||
<option value={`{{ literal ${component._id} }}`}>
|
<option value={`{{ literal ${makePropSafe(component._id)} }}`}>
|
||||||
{component._instanceName}
|
{component._instanceName}
|
||||||
</option>
|
</option>
|
||||||
{/each}
|
{/each}
|
||||||
|
|
Loading…
Reference in New Issue