Foreign-Entry

{
"type": "foreign-entry",
"id": "EmailForeignEntry",
"label": "Email Foreign Entry",
"showInTable": true,
"isRequired": true
"fieldId": "fEEmail",
"fieldType": "email",
"foreignSchemaId": "feemail",
"searchResFieldIds": ["fEEmailText"],
"mode": "create-and-search",
}

Field Attributes

NameTypeDescription
idstringAssigns a name for the given field on the backend. This name can be used to refer this field in another field
labelstringAdds a label to the given field
isRequiredbooleanMakes a field mandatory
showInTablebooleanDisplays the field in a table after saving the entry
foreignSchemaIdstringStores the id of the foreign schema
fieldIdstringStores the id of the field to refer
fieldTypestringIndicates the type of the field which is being referred
searchResFieldIdsstringIndicates extra fields to inlcude in search purpose to avoid multiple results