interface

RegisteredPluginField

Registration stored by Ridu after a helper has checked the component and decoders. Plugin authors should use definePluginField or defineFieldComponent and let TypeScript infer the result. Do not construct this object or call its component directly: Ridu supplies the field's form connection when rendering it.

Properties

PropertyTypeDescription
typeFieldTypeThe type value.
fieldTypestringThe fieldType value.
componentComponent<never, {}, string>The component value.
decodeConfig(field: SchemaField) => unknownThe decodeConfig value.
decodeValue(value: unknown) => unknownThe decodeValue value.
decodeInput(value: unknown) => unknownThe decodeInput value.
decodeFormValue(value: unknown) => unknownThe decodeFormValue value.
__@registration@2502trueThe __@registration@2502 value.

Full signature

Methods