connection modal converted

This commit is contained in:
Jan Prochazka
2021-03-04 17:55:45 +01:00
parent ce44e271ae
commit c2dc4d76ba
13 changed files with 284 additions and 25 deletions

View File

@@ -1,12 +1,12 @@
<script lang="ts">
import _ from 'lodash';
export let options = [];
export let value;
$: console.log('FIELD', $$props.value);
</script>
<select {...$$restProps} on:change>
{#each options as x (x.value)}
{#each _.compact(options) as x (x.value)}
<option value={x.value} selected={value == x.value}>
{x.label}
</option>