Skip to content

Commit 6b00d32

Browse files
Katinka Hesselinkchrisvfritz
Katinka Hesselink
authored andcommitted
explain what 'trim' does (#1912)
* explain what 'trim' does 'This trims out white-space from the input. ' * simplify language in v-model.trim explanation
1 parent 366e78c commit 6b00d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/v2/guide/forms.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ This is often useful, because even with `type="number"`, the value of HTML input
372372

373373
### `.trim`
374374

375-
If you want user input to be trimmed automatically, you can add the `trim` modifier to your `v-model` managed inputs:
375+
If you want whitespace from user input to be trimmed automatically, you can add the `trim` modifier to your `v-model`-managed inputs:
376376

377377
```html
378378
<input v-model.trim="msg">

0 commit comments

Comments
 (0)