feat(ask): add preview pane and wrapped content
This commit is contained in:
+2
-4
@@ -10,7 +10,8 @@ export const AskOptionSchema = Type.Object({
|
||||
),
|
||||
preview: Type.Optional(
|
||||
Type.String({
|
||||
description: "Optional preview text, used by richer question variants",
|
||||
description:
|
||||
"Optional preview text shown in the dedicated preview pane for preview questions",
|
||||
}),
|
||||
),
|
||||
});
|
||||
@@ -27,9 +28,6 @@ export const AskQuestionSchema = Type.Object({
|
||||
{ description: "Question type" },
|
||||
),
|
||||
),
|
||||
allowOther: Type.Optional(
|
||||
Type.Boolean({ description: "Include a fixed 'Type something.' option" }),
|
||||
),
|
||||
required: Type.Optional(
|
||||
Type.Boolean({
|
||||
description: "Optional metadata flag; submit is never blocked",
|
||||
|
||||
Reference in New Issue
Block a user