Skip to content

Special key filter presets require quotes #78

Closed
@dpass

Description

@dpass

The docs (http://vuejs.org/guide/events.html#The_Special_key_Filter) say you can specify a key filter like this:

<input v-on="keyup:submit | key enter">`

However, as per the filter syntax change in v0.12.0 (https://github.com/yyx990803/vue/releases/tag/0.12.0) the key specifier must be surrounded in quotes like this:

<input v-on="keyup:submit | key 'enter'">

The docs should be changed to reflect this necessity

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