Skip to content

Commit f7cde1a

Browse files
committed
fix: update based on testing
1 parent f24147d commit f7cde1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/pluggableWidgets/checkbox-radio-selection-web/src/CheckboxRadioSelection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<widget id="com.mendix.widget.web.checkboxradioselection.CheckboxRadioSelection" pluginWidget="true" offlineCapable="true" xmlns="http://www.mendix.com/widget/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mendix.com/widget/1.0/ ../node_modules/mendix/custom_widget.xsd">
3-
<name>Check box / Radio button</name>
3+
<name>Check box / radio selection</name>
44
<description />
55
<studioProCategory>Input elements</studioProCategory>
66
<studioCategory>Display</studioCategory>

packages/pluggableWidgets/checkbox-radio-selection-web/src/helpers/Association/Preview/AssociationPreviewSelector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class AssociationPreviewSelector implements SingleSelector {
2626
this.currentId = `PREVIEW_OPTION`;
2727
this.customContentType = props.optionsSourceCustomContentType;
2828
this.readOnly = props.readOnly;
29-
this.controlType = props.controlType;
29+
this.controlType = props.optionsSourceType === "boolean" ? props.controlType : "radio";
3030
this.caption = new PreviewCaptionsProvider(new Map(), getCustomCaption(props));
3131
this.options = new PreviewOptionsProvider(this.caption, new Map());
3232
(this.caption as PreviewCaptionsProvider).updatePreviewProps({

0 commit comments

Comments
 (0)