1
0
Fork 0
mirror of synced 2024-09-30 09:07:25 +13:00

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 2d713bed81
commit d88c91c11a

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}