feat(ui): support custom answers in preview questions

This commit is contained in:
Erik Kotsiuba
2026-04-25 20:01:43 +02:00
parent 1ce721094c
commit 7cca5eb54d
9 changed files with 135 additions and 19 deletions
+1 -3
View File
@@ -177,9 +177,7 @@ function formatNonInteractiveMessage(
for (const option of question.options) {
lines.push(` - ${option.label} [${option.value}]`);
}
if (question.type !== "preview") {
lines.push(" - Type your own [custom]");
}
lines.push(" - Type your own [custom]");
}
lines.push(