-
Notifications
You must be signed in to change notification settings - Fork 249
[Bug]: Button.disabled no longer defined #5985
Copy link
Copy link
Open
Labels
Component:ButtonIncludes ButtonBase, Clear Button, and Close ButtonIncludes ButtonBase, Clear Button, and Close ButtonSEV 3Issue that cause noticeable errors/minor usability problems which cause confusion or degrade UXIssue that cause noticeable errors/minor usability problems which cause confusion or degrade UXbugSomething isn't workingSomething isn't workingtriageAn issue needing triageAn issue needing triage
Metadata
Metadata
Assignees
Labels
Component:ButtonIncludes ButtonBase, Clear Button, and Close ButtonIncludes ButtonBase, Clear Button, and Close ButtonSEV 3Issue that cause noticeable errors/minor usability problems which cause confusion or degrade UXIssue that cause noticeable errors/minor usability problems which cause confusion or degrade UXbugSomething isn't workingSomething isn't workingtriageAn issue needing triageAn issue needing triage
Code of conduct
Impacted component(s)
Button
Library version
@spectrum-web-components/button@1.7.0
Expected behavior
Button.disabled should be defined as a boolean in typescript
Actual behavior
Property 'disabled' does not exist on type 'Button'.ts(2339)
Screenshots
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
access the Button.disabled property in TypeScript code.
Sample code or abstract reproduction which illustrates the problem
private async onRegisterAsync(evt:Event){
const button = evt.currentTarget as unknown as Button;
Severity
SEV 3
Logs taken while reproducing problem
No response
Would you like to track this issue in Jira?