feat(zitare): add maxlength validation to list create form

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-26 20:10:03 +01:00
parent 2b0b902ba3
commit 5bb96dbf2d

View file

@ -286,6 +286,7 @@
type="text"
bind:value={newListName}
placeholder={$_('lists.createModal.namePlaceholder')}
maxlength="50"
class="w-full p-3 rounded-lg bg-surface border border-border text-foreground focus:outline-none focus:border-primary"
/>
</div>
@ -296,6 +297,7 @@
<textarea
bind:value={newListDescription}
placeholder={$_('lists.createModal.descriptionPlaceholder')}
maxlength="200"
rows="3"
class="w-full p-3 rounded-lg bg-surface border border-border text-foreground focus:outline-none focus:border-primary resize-none"
></textarea>