react-simple-chatbot icon indicating copy to clipboard operation
react-simple-chatbot copied to clipboard

Not able to get previous value in "Options"

Open abhijeetekande opened this issue 5 years ago • 1 comments

Describe the bug As per our chatbot requirement, we want to show dynamic data in Options. For example:

  1. Initially there will be 3 options Class A Class B Class C If user select Class A then there will be next options like

     Do you want to join Class A?
     Do you know someone from Class A?
     .....
    etc
    

I have used previousValue in "message" and it is working fine. But, do you have any way to read previousValue in "Options"?

abhijeetekande avatar Jan 23 '21 07:01 abhijeetekande

is there also a way to use previousValue from any step? I mean in step 3 i can reference stet's 2 value but not the one from step 1, it will be really usefull

faq885 avatar Sep 15 '21 08:09 faq885