Skip to content

Commit

Permalink
refac: checkbox: add additional type to selected prop (#1050)
Browse files Browse the repository at this point in the history
* refac: include an additional type for the prop 'selected', since it can sometimes be a number

* update CHANGELOG.md

* Update src/components/DpSelect/DpSelect.vue

Co-authored-by: salisdemos <40487461+salisdemos@users.noreply.github.com>

---------

Co-authored-by: salisdemos <40487461+salisdemos@users.noreply.github.com>
  • Loading branch information
sakutademos and salisdemos authored Oct 17, 2024
1 parent 19b9675 commit 379aff6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Since v0.0.10, this Changelog is formatted according to the [Common Changelog][c

## UNRELEASED

### Added
- ([#1050](https://github.com/demos-europe/demosplan-ui/pull/1050)) DpCheckbox: add additional type to 'selected' prop ([@sakutademos](https://github.com/sakutademos)

## v0.3.34 - 2024-10-09

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/components/DpSelect/DpSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export default {
},
selected: {
type: String,
type: [String, Number],
required: false,
default: ''
}
Expand Down

0 comments on commit 379aff6

Please sign in to comment.