/
add-event-user.jigx
47 lines (45 loc) · 1.23 KB
/
add-event-user.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: Registration
description: =@ctx.jig.inputs.title
type: jig.default
actions:
- children:
- type: action.submit-form
options:
formId: bookForm
provider: DATA_PROVIDER_DYNAMIC
title: Create Record
entity: default/calendar
method: create
goBack: previous
children:
- type: component.form
instanceId: bookForm
options:
children:
- type: component.text-field
instanceId: id
options:
label: id
value: =@ctx.jig.inputs.id
isHidden: true
- type: component.field-row
options:
children:
- type: component.text-field
instanceId: userName
options:
label: Name
value: =@ctx.user.displayName
- type: component.email-field
instanceId: userEmail
options:
label: Email
value: =@ctx.user.email
- type: component.number-field
instanceId: userPhone
options:
label: Phone
- type: component.avatar-field
instanceId: avatar
options:
label: Photo