Skip to content

Commit

Permalink
fix: selected items not showing on custom content
Browse files Browse the repository at this point in the history
  • Loading branch information
gjulivan committed Jan 19, 2024
1 parent 2fd60ac commit 54fe2bf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions packages/pluggableWidgets/combobox-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Fixed

- We fixed selected options not showing for custom content type "yes"

## [1.1.1] - 2024-01-15

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/combobox-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/combobox-web",
"widgetName": "Combobox",
"version": "1.1.1",
"version": "1.1.2",
"description": "Configurable Combo box widget with suggestions and autocomplete.",
"copyright": "© Mendix Technology BV 2022. All rights reserved.",
"license": "Apache-2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class AssociationMultiSelector
this._attr?.value?.map(value => {
return value.id;
}) ?? null;
if (this.selectionMethod === "rowclick") {
if (this.selectionMethod === "rowclick" || this.customContentType === "yes") {
this.selectedItemsStyle = "boxes";
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/combobox-web/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="Combobox" version="1.1.1" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="Combobox" version="1.1.2" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="Combobox.xml" />
</widgetFiles>
Expand Down

0 comments on commit 54fe2bf

Please sign in to comment.