From 224bbb1d99a7f12a95322a4abb6a5e8f05fca68b Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 10 May 2024 11:00:14 -0300 Subject: fixing time and currency input --- packages/aml-backoffice-ui/src/forms.json | 38 +++++++++---------------------- 1 file changed, 11 insertions(+), 27 deletions(-) (limited to 'packages/aml-backoffice-ui') 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" } ] } -- cgit v1.2.3