diff --git a/site/src/pages/[...framework]/examples/_Input/react/Component.tsx b/site/src/pages/[...framework]/examples/_Input/react/Component.tsx index f2f3f310..85a83074 100644 --- a/site/src/pages/[...framework]/examples/_Input/react/Component.tsx +++ b/site/src/pages/[...framework]/examples/_Input/react/Component.tsx @@ -26,7 +26,7 @@ export default function Input({ value = 0, min = -Infinity, max = Infinity, onCh const num = parseInt(el.value) if (!isNaN(num) && min <= num && num <= max) next = num } - // Manually update the input.value in case the number stays the same i.e. 09 == 9 + // Manually update the input.value in case the number stays the same e.g. 09 == 9 el.value = String(next) onChange?.(next) } diff --git a/site/src/pages/[...framework]/examples/_Input/svelte/Component.svelte b/site/src/pages/[...framework]/examples/_Input/svelte/Component.svelte index 3af44c96..bd2f21dd 100644 --- a/site/src/pages/[...framework]/examples/_Input/svelte/Component.svelte +++ b/site/src/pages/[...framework]/examples/_Input/svelte/Component.svelte @@ -25,7 +25,7 @@ const num = parseInt(input.value) if (!isNaN(num) && min <= num && num <= max) next = num } - // Manually update the input.value in case the number stays the same i.e. 09 == 9 + // Manually update the input.value in case the number stays the same e.g. 09 == 9 input.value = String(next) value = next } diff --git a/site/src/pages/[...framework]/examples/_Input/vue/Component.vue b/site/src/pages/[...framework]/examples/_Input/vue/Component.vue index 0fb5e70e..5145a684 100644 --- a/site/src/pages/[...framework]/examples/_Input/vue/Component.vue +++ b/site/src/pages/[...framework]/examples/_Input/vue/Component.vue @@ -27,7 +27,7 @@ function handleInput({ currentTarget }: Event) { const num = parseInt(input.value) if (!isNaN(num) && min <= num && num <= max) next = num } - // Manually update the input.value in case the number stays the same i.e. 09 == 9 + // Manually update the input.value in case the number stays the same e.g. 09 == 9 input.value = String(next) modelValue.value = next }