frontend: add maxlength and minlength to channel edit and create modals

This commit is contained in:
hippoz 2022-04-26 04:04:55 +03:00
parent 444fcb2087
commit 706372716e
No known key found for this signature in database
GPG key ID: 7C52899193467641
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@
<label class="input-label"> <label class="input-label">
Channel Name Channel Name
<input class="input full-width" bind:value={ channelName } /> <input class="input full-width" minlength="1" maxlength="32" bind:value={ channelName } />
</label> </label>
<div class="modal-footer"> <div class="modal-footer">

View file

@ -53,7 +53,7 @@
<label class="input-label"> <label class="input-label">
Channel Name Channel Name
<input class="input full-width" bind:value={ channelName } /> <input class="input full-width" minlength="1" maxlength="32" bind:value={ channelName } />
</label> </label>
<div class="modal-footer"> <div class="modal-footer">