Merge branch 'master' into removing-uikit-04

# Conflicts:
#	packages/builder/src/components/common/DatePicker.svelte
#	packages/builder/src/components/workflow/SetupPanel/ParamInputs/ComponentSelector.svelte
This commit is contained in:
Victoria Sloan 2020-09-01 21:20:56 +01:00
commit 73a8edb7dc
4 changed files with 16 additions and 20 deletions

View File

@ -17,9 +17,9 @@
<div class="margin">
<label class="label">{label}</label>
<div class="uk-form-controls">
<textarea value={valuesText} on:change={inputChanged} />
</div>
<textarea value={valuesText} on:change={inputChanged} />
</div>
<style>

View File

@ -5,12 +5,10 @@
</script>
<div class="bb-margin-xl block-field">
<div class="uk-form-controls">
<select class="budibase__input" bind:value>
<option value="" />
{#each $backendUiStore.models as model}
<option value={model}>{model.name}</option>
{/each}
</select>
</div>
<select class="budibase__input" bind:value>
<option value="" />
{#each $backendUiStore.models as model}
<option value={model}>{model.name}</option>
{/each}
</select>
</div>

View File

@ -6,20 +6,18 @@
</script>
<div class="bb-margin-xl block-field">
<div class="uk-form-controls">
<select class="budibase__input" bind:value={value.model}>
{#each $backendUiStore.models as model}
<option value={model}>{model.name}</option>
{/each}
</select>
</div>
<select class="budibase__input" bind:value={value.model}>
{#each $backendUiStore.models as model}
<option value={model}>{model.name}</option>
{/each}
</select>
</div>
{#if value.model}
<div class="bb-margin-xl block-field">
<Label size="s" forAttr={'fields'}>Fields</Label>
{#each Object.keys(value.model.schema) as field}
<div class="uk-form-controls bb-margin-xl">
<div class="bb-margin-xl">
<Input bind:value={value[field]} label={field} />
</div>
{/each}

File diff suppressed because one or more lines are too long