/
confirm.jigx
47 lines (44 loc) · 1.31 KB
/
confirm.jigx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
title: Confirm example
type: jig.default
description: When you submit the form and the submission will be successful the confirm action will pop up.
actions:
- children:
- type: action.submit-form
options:
formId: simple-form
provider: DATA_PROVIDER_DYNAMIC
entity: default/form
method: create
title: Add an employee
goBack: previous
onSuccess:
title: Employee was added sucessfuly
actions:
- type: action.confirm
options:
title: See the confirmation
isConfirmedAutomatically: true
onConfirmed:
type: action.go-to
options:
linkTo: confirmation
modal:
title: ''
children:
- type: component.form
instanceId: simple-form
options:
children:
- type: component.text-field
instanceId: firstname
options:
label: First name
- type: component.text-field
instanceId: lastname
options:
label: Last name
- type: component.text-field
instanceId: phone
options:
label: Phone number
keyboardType: decimal-pad