rasa-webchat icon indicating copy to clipboard operation
rasa-webchat copied to clipboard

Hide input text area when bot answers with buttons

Open true1337 opened this issue 7 years ago • 7 comments

Hi, is there any option to hide input area when bot answers with buttons so that a person can’t answer except with the button

true1337 avatar Aug 01 '19 11:08 true1337

I really need this feature, but I don't know react :(

saurabh-m523 avatar Nov 25 '19 06:11 saurabh-m523

@true1337 @saurabh-m523 I am looking for that too. Did you find a solution? That was discussed also in the rasa forum: https://forum.rasa.com/t/how-to-disable-user-input-option-while-dealing-with-buttons/15308

ghost avatar Jan 04 '20 11:01 ghost

It's coming, couple of weeks max

znat avatar Jan 04 '20 14:01 znat

@znat any update here?

gurtajs4 avatar Jan 31 '20 21:01 gurtajs4

Rename this to index.js and copy it to path rasa-webchat\src\components\Widget\components\Conversation\components\Messages\components\QuickReply

and compile 'npm run build' and use the new index.js

index.txt

gurtajs4 avatar Mar 28 '20 06:03 gurtajs4

Hi, if you're using the webchat with Botfront, you can disable the input in your response settings in Botfront. You can also add a metadata field to your message with the property userInput: disable

MatthieuJnon avatar Jul 31 '20 14:07 MatthieuJnon

I am using rasa webchat, what is the easiest way to do this?

JustineFilion avatar Jun 28 '23 20:06 JustineFilion