Merge pull request #269 from appwrite/feat-add-size-string-attribute-overview

feat: add size attribute to string attribute overview
This commit is contained in:
Torsten Dittmann
2023-02-09 16:19:39 +01:00
committed by GitHub
@@ -8,6 +8,7 @@
$: attr = selectedAttribute as {
type?: string;
size?: string;
format?: string;
array?: boolean;
required?: boolean;
@@ -31,6 +32,9 @@
bind:value={attr.key}
disabled />
<InputText id="type" label="Type" value={attr.type ?? ''} readonly />
{#if attr.size}
<InputText id="size" label="Size" value={attr.size} readonly />
{/if}
{#if attr.format}
<InputText id="format" label="Format" value={attr.format} readonly />
{/if}