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-10-13 09:26:13 +02:00
|
|
|
<div>
|
2020-10-23 11:34:14 +02:00
|
|
|
<Select extraThin secondary wide on:change {value}>
|
2020-10-13 09:26:13 +02:00
|
|
|
<option value="">Choose a table</option>
|
2020-10-13 10:58:08 +02:00
|
|
|
{#each $backendUiStore.tables as table}
|
|
|
|
<option value={table._id}>{table.name}</option>
|
2020-10-13 09:26:13 +02:00
|
|
|
{/each}
|
|
|
|
</Select>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
div {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
div :global(> *) {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
</style>
|