aboutsummaryrefslogtreecommitdiff
path: root/packages/aml-backoffice-ui/src/handlers/InputFile.stories.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-12-30 20:19:47 -0300
committerSebastian <sebasjm@gmail.com>2023-12-30 20:19:47 -0300
commit6dd7cfa1ecd3ab95e4ab50e144762e5dceb03328 (patch)
treeceea1abf8e4be909d15a9219748279c9a895e667 /packages/aml-backoffice-ui/src/handlers/InputFile.stories.tsx
parenta37abd2472ac2d521e81838632050963157f00af (diff)
downloadwallet-core-6dd7cfa1ecd3ab95e4ab50e144762e5dceb03328.tar.xz
abs time
Diffstat (limited to 'packages/aml-backoffice-ui/src/handlers/InputFile.stories.tsx')
-rw-r--r--packages/aml-backoffice-ui/src/handlers/InputFile.stories.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/aml-backoffice-ui/src/handlers/InputFile.stories.tsx b/packages/aml-backoffice-ui/src/handlers/InputFile.stories.tsx
index 856b15bc7..8a1783bda 100644
--- a/packages/aml-backoffice-ui/src/handlers/InputFile.stories.tsx
+++ b/packages/aml-backoffice-ui/src/handlers/InputFile.stories.tsx
@@ -47,10 +47,15 @@ const form: FlexibleForm<TargetObject> = {
design: [{
title: "this is a simple form" as TranslatedString,
fields: [{
- type: "text",
+ type: "file",
props: {
label: "label of the field" as TranslatedString,
name: "comment",
+ required: true,
+ maxBites: 2 * 1024 * 1024,
+ accept: ".png",
+ tooltip: "this is a very long tooltip that explain what the field does without being short" as TranslatedString,
+ help: "Max size of 2 mega bytes" as TranslatedString,
},
}]
}]