botman / botman/web-widget

button click answer does not show button elements in reply

Open
#13 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
40
Forks
67
PR merge metrics
No merged PRs in 30d

Description

When a user clicks a button in response to a question, a reply containing ElementButtons will not be shown (any text in the ButtonTemplate will be shown). Typing, rather than clicking, will show the ElementButton.

Further, two successive button click responses by a user will then cause a javascript error and no part of the ButtonTemplate will be shown in the reply. (see comments in attached files.)

A simple proof of the bug in the attached files.
[botman.php.txt](https://github.com/botman/web-widget/files/1916794/botman.php.txt)
[Conversation.php.txt](https://github.com/botman/web-widget/files/1916800/Conversation.php.txt)
[anotherConversation.php.txt](https://github.com/botman/web-widget/files/1916801/anotherConversation.php.txt)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.