LightningFlowComponents
LightningFlowComponents copied to clipboard
*QuickChoice* - screen revisit - SmartChoiceFSC: Need a valid Input Mode value. Didn't get one
This actually seems to be a thing on other LWCs I've seen, so maybe it's not a bug at all but I wanted to report just in case. Like on a lightning lookup component it just shows error probably because they didn't handle the error.
Steps to reproduce
Steps to reproduce the behavior:
- add a screen with just a text box or something
- Create a screen with a quickchoice that is radio buttons with one or two strings as values
- on the same screen add a quickchoice who's visibility is dependent on another quickchoice's value (any type)
- leave the advanced setting to the default
- have previous available in the screen's footer
- debug the flow
- hit the first screen
- next
- hit the second screen, do nothing
- previous
- next
- now you are on the screen with the hidden quickchoice
- pick something on the quickchoice that makes the hidden one visible
- error
Expected behaviour
quickchoice field becomes visible
Actual behaviour
Something went wrong with the "shipVia" screen component on the "Pool-NA-Account sales parts" flow. Contact your Salesforce admin about this error. SmartChoiceFSC: Need a valid Input Mode value. Didn't get one
work around
set the hidden quickchoice field's advanced revisited screen values to 'refresh inputs'