diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 30d01b406c..896278a524 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -367,7 +367,7 @@ If the name matches the value, you can use a shorthand. --- -Numeric input values are coerced; even though `input.value` is a string as far as the DOM is concerned, Svelte will treat it as a number. If the input is empty (in the case of `type="number"`), the value is `undefined`. +Numeric input values are coerced; even though `input.value` is a string as far as the DOM is concerned, Svelte will treat it as a number. If the input is empty or invalid (in the case of `type="number"`), the value is `undefined`. ```html