Skip to content

Interpolation inside attributes has been removed, not just deprecated #4042

@regularmike

Description

@regularmike

I brought this up in the forums first and @phanan agreed that "deprecated" is misleading in this warning message that is logged when trying to use interpolation inside attributes:

'Interpolation inside attributes has been deprecated. Use v-bind or the colon shorthand instead. For example, instead of <div id="{{ val }}">, use <div :id="val">.'

This suggests that the feature is still present but will be removed in the future and so should be avoided. However, it has already been removed so it seems that "deprecated" should be replaced with "removed." I'm happy to create a PR if that is helpful.

Repro steps:

  1. Use a mustache in any HTML attribute.
  2. View messages logged to the console.

This fiddle doesn't show the console warning but demonstrates that the feature has been removed: http://jsfiddle.net/zcg2d825/1/

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