mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
tweak(dashboard): add desc character count here too
This commit is contained in:
parent
278104942b
commit
e9f563a1bc
2 changed files with 2 additions and 0 deletions
|
|
@ -172,6 +172,7 @@
|
|||
<br>
|
||||
<textarea class="form-control" bind:value={input.description} maxlength={1000} use:autoresize />
|
||||
</div>
|
||||
<span class="text-center d-block mb-2 mb-lg-1" >({input.description ? input.description.length : 0} / 1000 characters)</span>
|
||||
{#if !loading && input.name}<Button style="flex: 0" color="primary" on:click={submit}>Submit</Button>
|
||||
{:else if !input.name }<Button style="flex: 0" color="primary" disabled>Submit</Button>
|
||||
{:else}<Button style="flex: 0" color="primary" disabled><Spinner size="sm"/></Button>{/if}
|
||||
|
|
|
|||
|
|
@ -247,6 +247,7 @@
|
|||
<br>
|
||||
<textarea class="form-control" bind:value={input.description} maxlength={1000} use:autoresize placeholder={input.description}/>
|
||||
</div>
|
||||
<span class="text-center d-block mb-2 mb-lg-1" >({input.description ? input.description.length : 0} / 1000 characters)</span>
|
||||
{#if !loading && input.name}<Button style="flex: 0" color="primary" on:click={submit}>Submit</Button>
|
||||
{:else if !input.name }<Button style="flex: 0" color="primary" disabled>Submit</Button>
|
||||
{:else}<Button style="flex: 0" color="primary" disabled><Spinner size="sm"/></Button>{/if}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue