2020-06-02 22:31:29 +02:00
|
|
|
<script>
|
2020-08-17 22:01:43 +02:00
|
|
|
import { Select } from "@budibase/bbui"
|
2020-06-02 22:31:29 +02:00
|
|
|
import { backendUiStore } from "builderStore"
|
|
|
|
|
|
|
|
export let value
|
|
|
|
</script>
|
|
|
|
|
2020-08-17 22:01:43 +02:00
|
|
|
<Select thin secondary wide on:change {value}>
|
|
|
|
<option value="" />
|
|
|
|
{#each $backendUiStore.models as model}
|
|
|
|
<option value={model._id}>{model.name}</option>
|
|
|
|
{/each}
|
|
|
|
</Select>
|