diff --git a/src/guide/component-custom-events.md b/src/guide/component-custom-events.md index 84d2943cc3..31a34c7e39 100644 --- a/src/guide/component-custom-events.md +++ b/src/guide/component-custom-events.md @@ -152,7 +152,7 @@ Let's create an example custom modifier, `capitalize`, that capitalizes the firs Modifiers added to a component `v-model` will be provided to the component via the `modelModifiers` prop. In the below example, we have created a component that contains a `modelModifiers` prop that defaults to an empty object. -Notice that when the component's `created` lifecycle hook triggers, the `modelModifiers` prop contains `capitalize` and its value is `true` - due to it being set on the `v-model` binding `v-model.capitalize="bar"`. +Notice that when the component's `created` lifecycle hook triggers, the `modelModifiers` prop contains `capitalize` and its value is `true` - due to it being set on the `v-model` binding `v-model.capitalize="myText"`. ```html