Custom field type
By defining proxima:FieldType
, you can create custom field types for your team. The created custom field types can be referenced by the custom fields of the application.
Manifest Example
modules:
proxima:FieldType:
- key: custom-field-type
name: Custom Field Type
description: This is a custom field type
type: Custom
dataType: array
resource: field-type-resource
resources:
- key: field-type-resource
path: ./field-type
Properties
Property | Type | Required | Description |
---|---|---|---|
key | String | Yes | The key of the custom field type, which can be referenced by the fieldType in the proxima:CustomField . It must be unique in the Manifest file. Rule: ^[a-zA-Z0-9_-]+$ |
name | String | Yes | Name of the custom field type |
description | String | No | Description of the custom field type |
type | String | Yes | Type: Default is Custom |
dataType | String | Yes | Data type, array for arrays |
resource | String | Yes | The key pointing to the static resource |