Skip to content

Commit e22b5f9

Browse files
committed
update type field
1 parent 64f28e1 commit e22b5f9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

components/freshdesk/actions/create-ticket-field/create-ticket-field.mjs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ export default {
2020
label: "Label for Customers",
2121
description: "The label for the field as seen by customers",
2222
},
23+
type: {
24+
type: "string",
25+
label: "Type",
26+
description: "The type of the field. Can be custom_dropdown, custom_checkbox, custom_text, etc...",
27+
default: "custom_text",
28+
},
2329
customersCanEdit: {
2430
type: "boolean",
2531
label: "Customers Can Edit",
@@ -38,13 +44,6 @@ export default {
3844
description: "The position of the fieldPosition in which the ticket field is displayed in the form. If not given, it will be displayed on top",
3945
optional: true,
4046
},
41-
type: {
42-
type: "string",
43-
label: "Type",
44-
description: "The type of the field. Can be custom_dropdown, custom_checkbox, custom_text, etc...",
45-
default: "custom_dropdown",
46-
optional: true,
47-
},
4847
requiredForClosure: {
4948
type: "boolean",
5049
label: "Required for Closure",

0 commit comments

Comments
 (0)