We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dfd29c commit c7215c5Copy full SHA for c7215c5
Node/core/src/dialogs/Prompts.ts
@@ -252,7 +252,7 @@ export class Prompts extends dlg.Dialog {
252
if (style == ListStyle.auto) {
253
if (Channel.supportsKeyboards(session, args.enumValues.length)) {
254
style = ListStyle.button;
255
- } else if (!retry) {
+ } else if (!retry && args.promptType == PromptType.choice) {
256
style = args.enumValues.length < 3 ? ListStyle.inline : ListStyle.list;
257
} else {
258
style = ListStyle.none;
0 commit comments