Skip to content

Commit 790fd38

Browse files
CalebKesterchrisvfritz
authored andcommitted
Prop Validation Typo (#1171)
should be validator according to https://vuejs.org/v2/guide/components.html#Prop-Validation (confirmed with my local code)
1 parent 1758ebd commit 790fd38

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
@@ -221,7 +221,7 @@ props: {
221221
status: {
222222
type: String,
223223
required: true,
224-
validate: function (value) {
224+
validator: function (value) {
225225
return [
226226
'syncing',
227227
'synced',

0 commit comments

Comments
 (0)