Skip to content

v-bind="$attrs" and problems with "value" attribute for multi-checkboxes #7914

@pearofducks

Description

@pearofducks

Version

2.5.16

Reproduction link

https://codepen.io/anon/pen/aYqoYL?editors=1010

Steps to reproduce

  • Check the checkbox
  • See that the value is set to "null" even though the input element has its value (correctly) set to "foo"

What is expected?

  • The value passed through "$attrs" should be the checkbox's value used

(or, the value never hits the DOM element, the fact that it is present on the DOM element but isn't used in the model is a conflict IMO)

What is actually happening?

  • Null is set

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