mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 05:29:39 +02:00
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:
parent
2b0b902ba3
commit
5bb96dbf2d
1 changed files with 2 additions and 0 deletions
|
|
@ -286,6 +286,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
bind:value={newListName}
|
bind:value={newListName}
|
||||||
placeholder={$_('lists.createModal.namePlaceholder')}
|
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"
|
class="w-full p-3 rounded-lg bg-surface border border-border text-foreground focus:outline-none focus:border-primary"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -296,6 +297,7 @@
|
||||||
<textarea
|
<textarea
|
||||||
bind:value={newListDescription}
|
bind:value={newListDescription}
|
||||||
placeholder={$_('lists.createModal.descriptionPlaceholder')}
|
placeholder={$_('lists.createModal.descriptionPlaceholder')}
|
||||||
|
maxlength="200"
|
||||||
rows="3"
|
rows="3"
|
||||||
class="w-full p-3 rounded-lg bg-surface border border-border text-foreground focus:outline-none focus:border-primary resize-none"
|
class="w-full p-3 rounded-lg bg-surface border border-border text-foreground focus:outline-none focus:border-primary resize-none"
|
||||||
></textarea>
|
></textarea>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue