prefix api

This commit is contained in:
2021-05-02 14:02:40 +02:00
parent ab0166c5ac
commit c869238171
4 changed files with 18 additions and 9 deletions

View File

@@ -9,7 +9,7 @@
import TextInput from '$lib/ui/TextInput.svelte'
let note: Note = {
contents: 'secret',
contents: '',
password: false,
views: 1,
expiration: 60,
@@ -74,7 +74,7 @@
{:else}
<form on:submit|preventDefault={submit}>
<fieldset disabled={loading}>
<TextArea label="note" bind:value={note.contents} />
<TextArea label="note" bind:value={note.contents} placeholder="..." />
<div class="bottom">
<Switch label="advanced" bind:value={advanced} />