Skip to content

Commit

Permalink
feat(refs DPLAN-3217): allow disabling secondary button (1068)
Browse files Browse the repository at this point in the history
* feat(refs DPLAN-3217, #AB15115): allow disabling secondary button

if disabled is set to true, both buttons should be disabled

* docs(refs DPLAN-3217, #AB15115): add changelog entry
  • Loading branch information
hwiem authored Nov 4, 2024
1 parent 379aff6 commit 19bc464
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ Since v0.0.10, this Changelog is formatted according to the [Common Changelog][c
### Added
- ([#1050](https://github.com/demos-europe/demosplan-ui/pull/1050)) DpCheckbox: add additional type to 'selected' prop ([@sakutademos](https://github.com/sakutademos)

### Changed

-([#1068](https://github.com/demos-europe/demosplan-ui/pull/1068)) DpButtonRow: also disable secondary button if 'disabled' is set to true ([@hwiem](https://github.com/hwiem))

## v0.3.34 - 2024-10-09

### Added
Expand Down
1 change: 1 addition & 0 deletions src/components/DpButtonRow/DpButtonRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
v-if="secondary"
color="secondary"
:data-cy="`${dataCy}:abortButton`"
:disabled="disabled"
:href="href"
:text="secondaryText"
:variant="variant"
Expand Down

0 comments on commit 19bc464

Please sign in to comment.