aboutsummaryrefslogtreecommitdiff
path: root/packages/aml-backoffice-ui
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-05-10 11:00:14 -0300
committerSebastian <sebasjm@gmail.com>2024-05-10 11:00:14 -0300
commit224bbb1d99a7f12a95322a4abb6a5e8f05fca68b (patch)
tree9426f4e26666d3f0ec2a0793b22f29439d40ad21 /packages/aml-backoffice-ui
parent2375c1c1c8095b4d38dd2afa878705ad3bb216e1 (diff)
downloadwallet-core-224bbb1d99a7f12a95322a4abb6a5e8f05fca68b.tar.xz
fixing time and currency input
Diffstat (limited to 'packages/aml-backoffice-ui')
-rw-r--r--packages/aml-backoffice-ui/src/forms.json38
1 files changed, 11 insertions, 27 deletions
diff --git a/packages/aml-backoffice-ui/src/forms.json b/packages/aml-backoffice-ui/src/forms.json
index ef8001f91..f095e6eb2 100644
--- a/packages/aml-backoffice-ui/src/forms.json
+++ b/packages/aml-backoffice-ui/src/forms.json
@@ -70,7 +70,7 @@
"label": "E-mail"
},
{
- "type": "absoluteTime",
+ "type": "absoluteTimeText",
"pattern": "dd/MM/yyyy",
"name": "naturalCustomer.dateOfBirth",
@@ -240,7 +240,7 @@
"required": true
},
{
- "type": "absoluteTime",
+ "type": "absoluteTimeText",
"pattern": "dd/MM/yyyy",
"name": "dateOfBirth",
@@ -315,7 +315,7 @@
"title": "Acceptance of business relationship",
"fields": [
{
- "type": "absoluteTime",
+ "type": "absoluteTimeText",
"name": "acceptance.when",
"id": ".acceptance.when",
@@ -511,32 +511,16 @@
"type": "double-column",
"design": [
{
- "title": "Decorative elements",
- "description": "This is an example UI of a form with decorative elements",
+ "title": "Amount inputs",
"fields": [
{
- "type": "caption",
- "name": "cap",
- "label": "This is a caption"
- },
- {
- "type": "group",
- "name": "group",
- "label": "The first name and last name are in a group",
- "fields": [
- {
- "type": "text",
- "name": "firstName",
- "id": ".person.name",
- "label": "First name"
- },
- {
- "type": "text",
- "name": "lastName",
- "id": ".person.lastName",
- "label": "Last name"
- }
- ]
+ "type": "amount",
+ "name": "thedate",
+ "id": ".amount",
+ "converterId": "Taler.Amount",
+ "help": "how much do you have?",
+ "currency":"EUR",
+ "label": "Amount"
}
]
}