-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(checkbox): added missing readonly prop value #3859
Conversation
Tachometer resultsChromecard permalink
checkbox permalink
switch permalink
table permalink
Firefoxcard permalink
checkbox permalink
switch permalink
table permalink
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to trigger the error that raised this? Being typings and not functionality, it seems like maybe not, but it would be good if we could add something that prevented issues like this in future refactors.
… into bug/checkbox
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any way that we can test the specific issue that arose here in your consumption?
Yes should be added now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for getting that test in there, will be a big help for future refactoring. 🙇🏼
* chore(checkbox): added missing prop value * chore(checkbox): updated disabled on readonly * chore(checkbox): update golden image cache * chore(checkbox): allowing support for both setting and removing readonly * chore(checkbox): added the disabled proprety directly to the input * chore(checkbox): updated golden image cache * chore(checkbox): added test for readonly typing --------- Co-authored-by: Rajdeep Chandra <[email protected]>
Description
Added missing readonly prop value
Related issue(s)
Motivation and context
Showing an error on readonly prop in
CheckBox
swc-react component.How has this been tested?
yarn link
at packages/checkbox in SWCand
yarn link "@spectrum-web-components/checkbox"
Screenshots (if appropriate)
Types of changes
Checklist
Best practices
This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against
main
.