Skip to content

Commit

Permalink
add inputmode="numeric"
Browse files Browse the repository at this point in the history
  • Loading branch information
biltongza committed Jan 5, 2025
1 parent 8c9ecde commit d2d2e09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/routes/fun/carriage/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
oninput={(e) => (target = Number(e.target.value))}
label="Target"
placeholder="Enter a number"
inputmode="numeric"
size="large"><sl-icon name="bullseye" slot="prefix"></sl-icon></sl-input
>

Expand All @@ -77,6 +78,7 @@
oninput={(e) => (carriageNumber = Number(e.target.value))}
label="Carriage Number"
placeholder="Enter a number"
inputmode="numeric"
size="large"><sl-icon name="train-front" slot="prefix"></sl-icon></sl-input
>

Expand Down

0 comments on commit d2d2e09

Please sign in to comment.