8000 Prop Validation Typo (#1171) (#380) · vuejs-jp-bot/jp.vuejs.org@3d37e83 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3d37e83

Browse files
vuejs-jp-botkazupon
authored andcommitted
Prop Validation Typo (vuejs#1171) (vuejs#380)
should be validator according to https://vuejs.org/v2/guide/components.html#Prop-Validation (confirmed with my local code)
1 parent 7b21e47 commit 3d37e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/style-guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ props: {
225225
status: {
226226
type: String,
227227
required: true,
228-
validate: function (value) {
228+
validator: function (value) {
229229
return [
230230
'syncing',
231231
'synced',

0 commit comments

Comments
 (0)
0