You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I brought the default live code from the fiddler page for Strike Radio Group to a Flexipage/Lightning Record page by placing it inside a wrapper. It appears on the page just fine, however when I switch between radio options, it seems as if the content inside is not closing upon clicking a new radio option, and when it does, navigating back to the radio option with content inside does not open.
I was able to alleviate this issue by calling "selectRadioButtonFromValue" from "handleClickRadio" as "selectRadioButtonFromValue" was only being called once after render.
Hi,
I brought the default live code from the fiddler page for Strike Radio Group to a Flexipage/Lightning Record page by placing it inside a wrapper. It appears on the page just fine, however when I switch between radio options, it seems as if the content inside is not closing upon clicking a new radio option, and when it does, navigating back to the radio option with content inside does not open.
Walk-through -
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes" access="global">
<c:strike_radioGroup
value="radio-option-2"
label="Radio Group Label">
<c:strike_input label="Radio Option 1" value="radio-option-1"/>
<c:strike_radioGroupContent
showWhenValueEquals="radio-option-1">
<aura:set attribute="content">
<lightning:select
name="Select Name"
label="Select label"
value="option-1"
variant="standard">
Option 1
Option 2
Option 3
</lightning:select>
</aura:set>
</c:strike_radioGroupContent>
<c:strike_input label="Radio Option 2" value="radio-option-2"/>
<c:strike_radioGroupContent
showWhenValueEquals="radio-option-2">
<aura:set attribute="content">
<lightning:input
name="Input Name"
type="checkbox"
label="Checked">
</lightning:input>
</aura:set>
</c:strike_radioGroupContent>
<c:strike_input label="Radio Option 3" value="radio-option-3"/>
</c:strike_radioGroup>
</aura:component>
Navigate back to the Lightning page and refresh page
Select Option 1 and note the content inside (this will stay open when selecting a different radio option in the next step
Select Radio Option 2 - The content inside of Radio Option 1 stays open
Select Radio Option 3 - Now Radio Option 1 content closes
Note that upon reselecting Radio Option 1 again, the content inside does not open
The text was updated successfully, but these errors were encountered: