added note about combined/mulit-spaed view query column expressions
This commit is contained in:
@@ -92,8 +92,12 @@
|
||||
<code>(ROW_NUMBER() OVER()) as id</code>.
|
||||
</li>
|
||||
<li>
|
||||
Expressions must be aliased with a valid formatted field name (eg.
|
||||
<code>MAX(balance) as maxBalance</code>).
|
||||
Expressions must be aliased with a valid formatted field name, e.g.
|
||||
<code>MAX(balance) as maxBalance</code>.
|
||||
</li>
|
||||
<li>
|
||||
Combined/multi-spaced expressions must be wrapped in parenthesis, e.g.
|
||||
<code>(MAX(balance) + 1) as maxBalance</code>.
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
}
|
||||
|
||||
$: filtered = $collections.filter((c) => {
|
||||
return c.id == searchTerm || c.name.replace(/\s+/g, "").toLowerCase().includes(normalizedSearch);
|
||||
return c.id == searchTerm || c.name?.replace(/\s+/g, "")?.toLowerCase()?.includes(normalizedSearch);
|
||||
});
|
||||
|
||||
$: pinnedCollections = filtered.filter((c) => pinnedIds.includes(c.id));
|
||||
|
||||
@@ -85,7 +85,14 @@
|
||||
<div class="col-sm-6">
|
||||
<Field class="form-field form-field-toggle required" name="otp.length" let:uniqueId>
|
||||
<label for={uniqueId}>Generated password length</label>
|
||||
<input type="number" id={uniqueId} bind:value={collection.otp.length} required />
|
||||
<input
|
||||
type="number"
|
||||
min="0"
|
||||
step="1"
|
||||
id={uniqueId}
|
||||
bind:value={collection.otp.length}
|
||||
required
|
||||
/>
|
||||
</Field>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
teamId,
|
||||
keyId,
|
||||
privateKey.trim(),
|
||||
duration
|
||||
duration,
|
||||
);
|
||||
|
||||
isSubmitting = false;
|
||||
@@ -114,7 +114,7 @@
|
||||
}}
|
||||
/>
|
||||
</label>
|
||||
<input type="text" id={uniqueId} max={maxDuration} bind:value={duration} required />
|
||||
<input type="number" id={uniqueId} max={maxDuration} bind:value={duration} required />
|
||||
</Field>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user