-
Notifications
You must be signed in to change notification settings - Fork 19
OcModal: Add checkbox and secondary button #2149
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
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.
Why do you need additional props? Is it not feasible to implement a component API that uses inputType="checkbox"
?
|
Kudos, SonarCloud Quality Gate passed! |
v-model="checkboxValue" | ||
size="medium" | ||
:label="checkboxLabel" | ||
:aria-label="checkboxLabel" |
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.
if aria-label and accessible content (in this case: label
) are the same you don't need the aria-label. You can drop it completely.
Description
We've added an optional checkbox and secondary button to the OcModal
Related Issue
Types of changes
Checklist: