Skip to content

[Bug]: Checkbox.checked property no longer defined #5970

@mscherotter

Description

@mscherotter

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

@spectrum-web-components/checkbox

Library version

1.10.0

Expected behavior

In the latest version of the Checkbox component, the Checkbox.checked property is missing.
const checkbox:Checkbox =....;

console.log(checkbox.checked);

Actual behavior

checked is not defined

Screenshots

No response

What browsers are you seeing the problem in?

No response

How can we reproduce this issue?

Have code that uses the Checkbox.checked property

private async onChangeLocalizationAsync(evt: Event){
const checkbox = evt.currentTarget as Checkbox;

    if (checkbox.checked){
    }

}

Sample code or abstract reproduction which illustrates the problem

No response

Severity

None

Logs taken while reproducing problem

No response

Would you like to track this issue in Jira?

  • Yes, please tell me the ticket number!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component:CheckboxSEV 2significant problem re: design, usability, or functionality of the system/components for some usersbugSomething isn't workingtriageAn issue needing triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions