Skip to content

Interface: SortRefSelectProps

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SortRefSelectProps

Defined in: src/types/ui.ts:202

The props of a select node the engine renders for a feature declared by an entity range.

Options come from the node’s load_data action: each binding’s id is the option value (a term UUID) and its label the text shown.

if (node.sort === 'select' && isSortRefSelectProps(node.props)) {
console.log(`options of ${node.props.sortName}`);
}

labelKey: "label"

Defined in: src/types/ui.ts:208

The binding key that holds an option’s label.


sortName: string

Defined in: src/types/ui.ts:204

The declared range sort whose terms are the options.


valueKey: "id"

Defined in: src/types/ui.ts:206

The binding key that holds an option’s value (the term UUID).