aboutsummaryrefslogtreecommitdiff
path: root/packages/aml-backoffice-ui/src/handlers/InputChoiceStacked.stories.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/aml-backoffice-ui/src/handlers/InputChoiceStacked.stories.tsx')
-rw-r--r--packages/aml-backoffice-ui/src/handlers/InputChoiceStacked.stories.tsx12
1 files changed, 11 insertions, 1 deletions
diff --git a/packages/aml-backoffice-ui/src/handlers/InputChoiceStacked.stories.tsx b/packages/aml-backoffice-ui/src/handlers/InputChoiceStacked.stories.tsx
index bd21687bb..215418430 100644
--- a/packages/aml-backoffice-ui/src/handlers/InputChoiceStacked.stories.tsx
+++ b/packages/aml-backoffice-ui/src/handlers/InputChoiceStacked.stories.tsx
@@ -47,10 +47,20 @@ const form: FlexibleForm<TargetObject> = {
design: [{
title: "this is a simple form" as TranslatedString,
fields: [{
- type: "text",
+ type: "choiceStacked",
props: {
label: "label of the field" as TranslatedString,
name: "comment",
+ choices: [{
+ label: "first choice" as TranslatedString,
+ value: "1"
+ }, {
+ label: "second choice" as TranslatedString,
+ value: "2"
+ }, {
+ label: "thrid choice" as TranslatedString,
+ value: "3"
+ },],
},
}]
}]