Skip to content

Handling v-model modifiers playground has wrong exampleΒ #3133

@koeliga

Description

@koeliga

https://vuejs.org/guide/components/v-model.html#handling-v-model-modifiers

In the docs it says:

Let's create an example custom modifier, capitalize, that capitalizes the first letter of the string provided by the v-model binding:

and in the playground example it says:

This input capitalizes everything you enter:

When using the input it only capitalizes the first letter just like it says in the docs, so this is wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions