LightningFlowComponents
LightningFlowComponents copied to clipboard
*FlowScreenComponentBasePack* - _(DualListBox, QuickChoice)_ - ReferenceError in debug mode
Hi,
I have found out that some flow components show Reference error in debug mode, namely Dual List Box and Quick Choice components.
Solution is in pull request https://github.com/alexed1/LightningFlowComponents/pull/980
The issue is only in the wrong position of export statement, it should be always at the end of the file. Debug mode does not do transpile scripts as non-debug mode do and it causes the error I guess.


Steps to reproduce:
- Enable debug mode for logged user
- Edit flow
- Create screen element
- Drag Quick Choice component to the screen
- You see the error
Thanks, good fix