Skip to content

Filter not recognized when filtered expression contains a '/' with () #4838

@tals

Description

@tals

Vue.js version

2.1.10

Reproduction Link

A variation on #4415
https://jsbin.com/heguyujupu/edit?html,console,output

Steps to reproduce

{{ (price) / 100 | currency }}

What is Expected?

This divided number gets filtered

What is actually happening?

Get this error:

[Vue warn]: Property or method \"currency\" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option. 
(found in root instance)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions