Skip to content

Custom Web Elements/Components receive null instead of false on subsequent re-render #10324

Description

@Maxim-Mazurok

Vue version

3.4.18

Link to minimal reproduction

https://jsfiddle.net/uwegz5y8/23/

Steps to reproduce

  1. Load repro
  2. See Boo: false; typeof: boolean - as expected, because boo attribute is not set
  3. Click "Toggle Boo"
  4. See Boo: true; typeof: boolean - as expected, because now boo attribute is set
  5. Click "Toggle Boo" again
  6. See Boo: null; typeof: object - unexpected, since boo attribute is removed - we expect to receive false just like in the 2nd step previously

What is expected?

false

What is actually happening?

null

System Info

No response

Any additional comments?

Kinda related: #9697

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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