Skip to content

Incorrect use of "v-model" #781

Description

@mmattel

Referencing: #774 (One Shot dependency Update (remaining ones with manual corrections))

Had a discussion with @kulmann regarding his suggestion to use the pug-plain-loader.

When using and configuring this loader, a particular error pops up when building which does not come up not using it, most times referencing UpdateList.vue:

SyntaxError: 
VueCompilerError: Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.

The syntax error is correct (using the loader highlights this issue). v-model has a two way data binding and it mapps the input internally to the value property. Means in the two cases, two different values are handed over to the input element. One time via the v-model and one time via the value itself - this is wrong.

This error should be corrected, altough it is not popping up in the currently used build to avoid issues, hard to be identified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions