LightningFlowComponents icon indicating copy to clipboard operation
LightningFlowComponents copied to clipboard

*QuickChoice* - screen revisit - SmartChoiceFSC: Need a valid Input Mode value. Didn't get one

Open cadillacben opened this issue 1 year ago • 3 comments

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:

  1. add a screen with just a text box or something
  2. Create a screen with a quickchoice that is radio buttons with one or two strings as values
  3. on the same screen add a quickchoice who's visibility is dependent on another quickchoice's value (any type)
  4. leave the advanced setting to the default
  5. have previous available in the screen's footer
  6. debug the flow
  7. hit the first screen
  8. next
  9. hit the second screen, do nothing
  10. previous
  11. next
  12. now you are on the screen with the hidden quickchoice
  13. pick something on the quickchoice that makes the hidden one visible
  14. 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'

cadillacben avatar May 10 '23 20:05 cadillacben