Skip to content

Commit

Permalink
refact: use text type for decimal and numeric mode (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
crlssn authored Nov 21, 2024
1 parent 8a4a747 commit 577c410
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/web/src/views/Workouts/WorkoutRoutine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ const cancelWorkout = async () => {
<div class="flex items-center gap-x-4 mb-4">
<div class="w-full">
<input
type="number"
type="text"
inputmode="decimal"
step="0.05"
v-model.number="set.weight"
placeholder="Weight"
@keyup="
Expand All @@ -153,9 +152,8 @@ const cancelWorkout = async () => {
<span class="text-gray-900 font-medium">x</span>
<div class="w-full">
<input
type="number"
type="text"
inputmode="numeric"
step="1"
v-model.number="set.reps"
placeholder="Reps"
@keyup="
Expand Down

0 comments on commit 577c410

Please sign in to comment.