Skip to main content

Function: getFieldKind()

getFieldKind(__namedParameters): FieldKind

Defined in: core/form.ts:144

The input widget a field needs, decided from its schema: an x-widget hint, an x-ref/x-soat-ref (a picker of another resource's records, or checkboxes of them for an array of ids), then enum, type and format, then the field name.

Parameters​

ParameterType
__namedParameters{ name: string; schema: OpenApiSchema; }
__namedParameters.namestring
__namedParameters.schemaOpenApiSchema

Returns​

FieldKind