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
@@ -48,7 +48,8 @@
</div>
<div class="col-md-6">
<label class="form-label">Channel Name <span class="text-danger">*</span></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">