fix name validation
This commit is contained in:
parent
8894bbd78d
commit
777fa0fd18
@ -31,9 +31,9 @@
|
|||||||
|
|
||||||
}}>
|
}}>
|
||||||
<h1>Créer une salle</h1>
|
<h1>Créer une salle</h1>
|
||||||
<InputWithLabel label="Nom de la salle" bind:value={name} min="3" max="20" />
|
<InputWithLabel label="Nom de la salle" bind:value={name} minlength="3" maxlength="20" />
|
||||||
{#if !$isAuth}
|
{#if !$isAuth}
|
||||||
<InputWithLabel label="Votre pseudo" bind:value={pseudo} min="4" max="15" />
|
<InputWithLabel label="Votre pseudo" bind:value={pseudo} minlength="4" maxlength="15" />
|
||||||
{/if}
|
{/if}
|
||||||
<button
|
<button
|
||||||
class="primary-btn"
|
class="primary-btn"
|
||||||
|
Loading…
Reference in New Issue
Block a user