Skip to main content

Type Alias: FormInputOrDefaultResolver()

FormInputOrDefaultResolver = (property, inputProps) => React.ReactElement | undefined | null

Defined in: forms/input/inputCommon.tsx:17

Resolves an input component to edit a specific entity or relation property.

If the resolver returns undefined then the default input will be used, else if it returns null then the input will be hidden, otherwise the returned input will be used.

Parameters

ParameterType

property

PropertyTypeIri

inputProps

FormInputMultiProps

Returns

React.ReactElement | undefined | null

See

VisualAuthoring.inputResolver