dynamic-forms / Function

getFieldValueHandling

Gets the value handling mode for a specific field type from the registry.

Presentation

function getFieldValueHandling(
  fieldType: string,
  registry: Map<string, FieldTypeDefinition<any>>,
): ValueHandlingMode;

Returns

ValueHandlingMode -

The value handling mode ('include' is the default if not specified)

Parameters

NameTypeDescription
fieldType
string

The field type identifier

registry
Map<string, FieldTypeDefinition<any>>

The field type registry