mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 09:40:10 +00:00
fix(dashboard): swap svelte-autosize for svelte-textarea-autoresize
This commit is contained in:
parent
3a7e8422af
commit
7aa4d49a97
8 changed files with 20 additions and 29 deletions
|
|
@ -2,7 +2,7 @@
|
|||
import { Row, Col, Input, Button, Label, Alert, Spinner, Accordion, AccordionItem, CardTitle } from 'sveltestrap';
|
||||
import { Group } from '../../api/types';
|
||||
import api from '../../api';
|
||||
import autosize from 'svelte-autosize';
|
||||
import { autoresize } from 'svelte-textarea-autoresize';
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
import FaPlus from 'svelte-icons/fa/FaPlus.svelte';
|
||||
|
||||
|
|
@ -167,7 +167,7 @@
|
|||
<Button size="sm" color="primary" on:click={() => input.description = descriptions[2]}>Template 3</Button>
|
||||
{/if}
|
||||
<br>
|
||||
<textarea class="form-control" bind:value={input.description} maxlength={1000} use:autosize />
|
||||
<textarea class="form-control" bind:value={input.description} maxlength={1000} use:autoresize />
|
||||
</div>
|
||||
{#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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue