mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 08:16:00 +00:00
connection modal converted
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user