Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.ropeproject
node_modules
node_modules
scripts
7 changes: 5 additions & 2 deletions app/client/src/components/auth/PinInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,15 @@

<div class="flex justify-center space-x-2">
{#each pin as _, i}
<input
<input
bind:this={inputs[i]}
type="password"
type="tel"
inputmode="numeric"
pattern="[0-9]*"
maxlength="1"
class="h-10 w-10 rounded-md border-2 border-gray-300 bg-white text-center text-xl text-gray-900 focus:border-blue-500 focus:ring-blue-500 sm:h-12 sm:w-12 sm:text-2xl
dark:border-gray-600 dark:bg-gray-900 dark:text-gray-100 dark:focus:border-blue-400 dark:focus:ring-blue-400"
style="-webkit-text-security: disc;"
on:input={(e) => handleInput(e, i)}
on:keydown={(e) => handleKeydown(e, i)}
aria-label={`PIN digit ${i + 1}`}
Expand Down