LightningFlowComponents icon indicating copy to clipboard operation
LightningFlowComponents copied to clipboard

*FlowScreenComponentBasePack* - _(DualListBox, QuickChoice)_ - ReferenceError in debug mode

Open adamondrejka opened this issue 2 years ago • 1 comments

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.

Screenshot 2021-12-10 at 18 23 31 Screenshot 2021-12-10 at 18 24 15

Steps to reproduce:

  1. Enable debug mode for logged user
  2. Edit flow
  3. Create screen element
  4. Drag Quick Choice component to the screen
  5. You see the error

adamondrejka avatar Dec 10 '21 17:12 adamondrejka

Thanks, good fix

alexed1 avatar Dec 11 '21 20:12 alexed1