Proposal for Choice Card: add switch type and conditional block #570
Labels
enhancement
New feature or request
P4
Not critical: workarounds exist and/or not a high priority item.
Milestone
Description
Problem: Right now there is some ambiguity related to when and how to use the Radio bordered versus the Choice card. Related, there is a similar overlap between Switch bordered and feature toggle. Behind the scenes the Choice Card is primarily set up to work like a tab selection, activating a separate tab pane, yet cases exist where a panel within the card itself should toggle instead.
Proposal: This proposal involves several aspects:
radio_configs
prop on Choice (although this prop may need to be renamed asinput_configs
and allow fortype
as a new option within it). The end goal here would be that any uses of SageSwitch or SageRadio that usebordered
could instead useSageChoice
and benefit from a single interface.SageChoice
for a slot within the card itself to toggle on and off as the choice is selected and deselected. This should allow for any content to be passed within, and is most likely to be used for providing additional form fields for settings related to the option that the user has selected through selecting that choice card.The text was updated successfully, but these errors were encountered: