diff --git a/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flowButtonBar/fsc_flowButtonBar.js b/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flowButtonBar/fsc_flowButtonBar.js index efc3829b9..bcc9d2aaa 100644 --- a/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flowButtonBar/fsc_flowButtonBar.js +++ b/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flowButtonBar/fsc_flowButtonBar.js @@ -215,7 +215,9 @@ export default class FlowButtonBar extends LightningElement { } updateSelected() { - + if (!this.value && this.defaultValue) { + this.handleButtonClick(null, this.defaultValue); + } if (this.isSelectionMode) { for (let button of this.template.querySelectorAll('lightning-button')) { button.variant = this.values.includes(button.value) ? VARIANTS.SELECTED : VARIANTS.UNSELECTED;