We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a847443 commit 45ee821Copy full SHA for 45ee821
src/guide/essentials/forms.md
@@ -442,7 +442,7 @@ export default {
442
<input v-model.number="age" />
443
```
444
445
-もし値が `parseFloat()` で解析できない場合は、代わりに元の値が使用されます。
+もし値が `parseFloat()` で解析できない場合は、代わりに元の(文字列)値が使用されます。特に、入力が空の場合(例えばユーザーが入力フィールドをクリアした後など)、空文字列が返されます。この動作は [DOM プロパティの `valueAsNumber`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement#valueasnumber) とは異なります。
446
447
input が `type="number"` を持つ場合は `number` 修飾子が自動で適用されます。
448
0 commit comments