[mirotalksfu] - add maxlength attribute

هذا الالتزام موجود في:
Miroslav Pejic
2023-07-18 08:11:58 +02:00
الأصل e84c685d62
التزام c781068846
4 ملفات معدلة مع 8 إضافات و2 حذوفات

عرض الملف

@@ -522,6 +522,7 @@ function whoAreYou() {
title: 'MiroTalk SFU', title: 'MiroTalk SFU',
input: 'text', input: 'text',
inputPlaceholder: 'Enter your name', inputPlaceholder: 'Enter your name',
inputAttributes: { maxlength: 32 },
inputValue: default_name, inputValue: default_name,
html: initUser, // Inject HTML html: initUser, // Inject HTML
confirmButtonText: `Join meeting`, confirmButtonText: `Join meeting`,
@@ -2174,6 +2175,7 @@ async function getParticipantsTable(peers) {
type="text" type="text"
placeholder=" 🔍 Search participants ..." placeholder=" 🔍 Search participants ..."
name="search" name="search"
maxlength="36"
onkeyup="rc.searchPeer();" onkeyup="rc.searchPeer();"
/> />
</div> </div>

عرض الملف

@@ -111,9 +111,10 @@
<label for="roomName"></label> <label for="roomName"></label>
<div class="form-group-desktop"> <div class="form-group-desktop">
<input <input
id="roomName"
class="form-input" class="form-input"
type="text" type="text"
id="roomName" maxlength="36"
value="" value=""
style="border-radius: 6px" style="border-radius: 6px"
/> />

عرض الملف

@@ -81,6 +81,7 @@
class="form-input" class="form-input"
type="name" type="name"
placeholder="Username" placeholder="Username"
maxlength="36"
style="border-radius: 6px" style="border-radius: 6px"
required required
/> />
@@ -93,6 +94,7 @@
type="password" type="password"
style="border-radius: 6px" style="border-radius: 6px"
placeholder="Password" placeholder="Password"
maxlength="36"
required required
/> />
</div> </div>

عرض الملف

@@ -110,9 +110,10 @@
<label for="roomName"></label> <label for="roomName"></label>
<div class="form-group-desktop"> <div class="form-group-desktop">
<input <input
id="roomName"
class="form-input" class="form-input"
type="text" type="text"
id="roomName" maxlength="36"
value="" value=""
style="border-radius: 6px" style="border-radius: 6px"
/> />