frontend: add maxlength and minlength to channel edit and create modals
This commit is contained in:
parent
444fcb2087
commit
706372716e
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@
|
|||
|
||||
<label class="input-label">
|
||||
Channel Name
|
||||
<input class="input full-width" bind:value={ channelName } />
|
||||
<input class="input full-width" minlength="1" maxlength="32" bind:value={ channelName } />
|
||||
</label>
|
||||
|
||||
<div class="modal-footer">
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
|
||||
<label class="input-label">
|
||||
Channel Name
|
||||
<input class="input full-width" bind:value={ channelName } />
|
||||
<input class="input full-width" minlength="1" maxlength="32" bind:value={ channelName } />
|
||||
</label>
|
||||
|
||||
<div class="modal-footer">
|
||||
|
|
Loading…
Reference in a new issue