ModelSelect - added blank option

This commit is contained in:
Michael Shanks 2020-06-03 06:55:21 +01:00
parent ac6f84b5ee
commit 81f11d16fa
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@
<div class="uk-margin block-field"> <div class="uk-margin block-field">
<div class="uk-form-controls"> <div class="uk-form-controls">
<select class="budibase__input" on:change {value}> <select class="budibase__input" on:change {value}>
<option value=""></option>
{#each $backendUiStore.models as model} {#each $backendUiStore.models as model}
<option value={model._id}>{model.name}</option> <option value={model._id}>{model.name}</option>
{/each} {/each}