Skip to content

Tagged templates inside data bindings #9721

Closed
@torepettersen

Description

@torepettersen

Version

2.6.8

Reproduction link

https://codesandbox.io/s/626m32y4xw?fontsize=14

Steps to reproduce

Use tagged template inside data binding:

<span>{{ t`Hello ${'Vue'}`}}</span>

What is expected?

I would expect the data binding to return the result of the tagged template function.

What is actually happening?

I am getting an error message saying that tagged templates are not supported.


Initially thought this was a feature request since it says that tagged templates are not supported. But @posva closed the original issue #9719 and asked for a repro, so here it is.

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