From 143f4f65453cc64facf6ef90e213864650df2ca3 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Sun, 21 Aug 2016 04:15:03 +0900 Subject: [PATCH 1/4] add trim modifier --- src/guide/forms.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/guide/forms.md b/src/guide/forms.md index 33e33337a0..d4995cb279 100644 --- a/src/guide/forms.md +++ b/src/guide/forms.md @@ -344,3 +344,11 @@ If you want user input to be automatically typecast as a number, you can add the ``` This is often useful, because even with `type="number"`, the value of HTML input elements always returns a string. + +### `.trim` + +If you want user input to be automatically trim, tou can add the `trim` modifier to youre `v-model` managed inputs: + +```html + +``` From 2ec7a491b17dccd04809fce47bdf076269d5a393 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Mon, 22 Aug 2016 07:37:10 +0900 Subject: [PATCH 2/4] fix grammer and typo --- src/guide/forms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/forms.md b/src/guide/forms.md index d4995cb279..d4b127eca6 100644 --- a/src/guide/forms.md +++ b/src/guide/forms.md @@ -347,7 +347,7 @@ This is often useful, because even with `type="number"`, the value of HTML input ### `.trim` -If you want user input to be automatically trim, tou can add the `trim` modifier to youre `v-model` managed inputs: +If you want user input to trimmed automatically, you can add the `trim` modifier to youre `v-model` managed inputs: ```html From 419734c69516d2e7f7c40c921fab8b42df4b55bc Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Mon, 22 Aug 2016 07:50:03 +0900 Subject: [PATCH 3/4] re-fix grammer --- src/guide/forms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/forms.md b/src/guide/forms.md index d4b127eca6..827bdad16d 100644 --- a/src/guide/forms.md +++ b/src/guide/forms.md @@ -347,7 +347,7 @@ This is often useful, because even with `type="number"`, the value of HTML input ### `.trim` -If you want user input to trimmed automatically, you can add the `trim` modifier to youre `v-model` managed inputs: +If you want user input to be trimmed automatically, you can add the `trim` modifier to youre `v-model` managed inputs: ```html From f1f774401b01462a2ff00caabc635eff45439e44 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Mon, 22 Aug 2016 10:25:48 +0900 Subject: [PATCH 4/4] fix typo --- src/guide/forms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/forms.md b/src/guide/forms.md index 827bdad16d..5157584eb8 100644 --- a/src/guide/forms.md +++ b/src/guide/forms.md @@ -347,7 +347,7 @@ This is often useful, because even with `type="number"`, the value of HTML input ### `.trim` -If you want user input to be trimmed automatically, you can add the `trim` modifier to youre `v-model` managed inputs: +If you want user input to be trimmed automatically, you can add the `trim` modifier to your `v-model` managed inputs: ```html