Powered by
Checkboxes in bot messages
# 👀feature-requests
l
limited-lamp-50791
12/09/2024, 12:50 PM
Hi team, It would be great to have support for checkboxes in bot messages, in addition to buttons. This would be especially useful for multi-choice scenarios. In an ideal implementation, nested checkboxes would also be supported.
Use Case for Nested Checkboxes:
In a multi-step bot, nested checkboxes could allow users to control which options they see and hide the ones they don’t plan to use. For example, the bot could present a configurable object (e.g., JSON), and users could easily update it through the UI. While controlling bot behavior based on such objects is straightforward in code, there’s currently no UI to make this intuitive for users. Here's a Codepen as illustration:
https://codepen.io/nicksmet-the-vuer/pen/gbYMYvx
https://cdn.discordapp.com/attachments/1315661750464417824/1315661751122919424/image.png?ex=675838fd&is=6756e77d&hm=a0f639d0cde372ceb30f445d1d6b2810fdf654478d09153b2059e8f014dd7d48&
https://cdn.discordapp.com/attachments/1315661750464417824/1315661751592943627/image.png?ex=675838fd&is=6756e77d&hm=07bcb605510eb92a8413788f92ce45e33ac8af73d779d85642e7ea7401e490d9&
limited-lamp-50791
12/11/2024, 10:48 AM
Note: understandably, it would be a nightmare/impossible in terms of compatibility with integrations. But e.g. it could be made as a webchat-specific card.
https://cdn.discordapp.com/attachments/1315661750464417824/1316355953754509363/image.png?ex=675abf84&is=67596e04&hm=df79cc25a93cfe48011a699c0676dbb01fd163673ecd97c745b6f43799e4bb3c&
4
Views
Previous
Next