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:
commit
73a8edb7dc
|
@ -17,9 +17,9 @@
|
|||
|
||||
<div class="margin">
|
||||
<label class="label">{label}</label>
|
||||
<div class="uk-form-controls">
|
||||
|
||||
<textarea value={valuesText} on:change={inputChanged} />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<style>
|
||||
|
|
|
@ -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>
|
||||
</div>
|
||||
|
|
|
@ -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>
|
||||
</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
Loading…
Reference in New Issue