diff options
| author | Adam Soltys <[email protected]> | 2025-08-20 14:33:28 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-08-20 14:33:28 -0700 |
| commit | b09ebea57acff29c1423660983994710e718e158 (patch) | |
| tree | 13cb8571f65c9881beb87bd268a11fab01f422a1 /src | |
| parent | 2a0a73b83ff59c22ae89000e7f16d2dd9c82c025 (diff) | |
| download | coinos-ui-b09ebea57acff29c1423660983994710e718e158.tar.gz coinos-ui-b09ebea57acff29c1423660983994710e718e158.zip | |
input mode
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/Numpad.svelte | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/Numpad.svelte b/src/components/Numpad.svelte index fce12943..0290b9e2 100644 --- a/src/components/Numpad.svelte +++ b/src/components/Numpad.svelte @@ -290,8 +290,15 @@ aria-multiline="false" contenteditable bind:innerHTML={html} + inputmode={fiat ? "decimal" : "numeric"} + enterkeyhint="done" + autocapitalize="off" + autocorrect="off" + spellcheck="false" onpaste={pasted} - onfocus={select} + onfocus={(e) => { + select(e); + }} onblur={blur} oninput={input} onkeydown={keydown} |
