Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Function: isUniqueKey()

isUniqueKey(value, store, args?): RuleValidatorResult | Promise<RuleValidatorResult>

Returns true if the component key is unique across the entire component tree. Internal use only.

Parameters

value: string

the component key.

store: IStore

the form viewer settings.

args?: Record<string, unknown>

Returns

RuleValidatorResult | Promise<RuleValidatorResult>

true if the component key is unique across the entire component tree.