Skip to content

API ReferenceReact componentsInterface

HardcodedField\<T\>

A helper type for hardcoding values in the SDK.

Remarks

Used by LOCConfig (beneficiary, expiration) to pin a LOC creation field for every operation built through this SDK instance.

Type Parameters

Type Parameter
T

Properties

hidden?

optional hidden?: boolean;

When true, SDK-aware UI (the React LOC form) omits the field entirely instead of rendering it read-only; the value still applies. Defaults to false.


value

value: T;

The fixed value applied to every LOC creation through this SDK instance. A caller who supplies a different value for the same field fails validation (see LOCConfig beneficiary and expiration).