Accept uppercase channel names in onboarding and company settings

This commit is contained in:
Thanakorn
2026-09-14 13:31:26 +07:00
parent 5ee0c8d41b
commit 5d021d7683
4 changed files with 8 additions and 6 deletions
+2 -1
View File
@@ -121,7 +121,8 @@
<div class="col-md-6 mb-3">
<label class="form-label">Nickname / Channel Name</label>
<input type="text" class="form-control" id="channel_name" placeholder="e.g. my-shop">
<input type="text" class="form-control" id="channel_name" placeholder="e.g. my-shop"
oninput="this.value=this.value.toLowerCase().replace(/[^a-z0-9_-]/g,'')">
<div class="form-text">Unique identifier. Lowercase, no spaces.</div>
</div>
<div class="col-md-3 mb-3">