Interface CombinatorRendererProps

State-based props of a Control

interface CombinatorRendererProps {
    cells?: {
        cell: any;
        tester: RankedTester;
    }[];
    config?: any;
    data: any;
    description?: string;
    enabled: boolean;
    errors: string;
    i18nKeyPrefix?: string;
    id: string;
    indexOfFittingSchema: number;
    label: string;
    path: string;
    renderers?: JsonFormsRendererRegistryEntry[];
    required?: boolean;
    rootSchema: JsonSchema;
    schema: JsonSchema;
    uischema: ControlElement;
    uischemas: JsonFormsUISchemaRegistryEntry[];
    visible: boolean;
    handleChange(path, value): void;
}

Hierarchy (view full)

Properties

cells?: {
    cell: any;
    tester: RankedTester;
}[]

All available cell renderers.

Type declaration

config?: any

Any configuration options for the element.

data: any

The data to be rendered.

description?: string

Description of input cell

enabled: boolean

Whether the rendered element should be enabled.

errors: string

Any validation errors that are caused by the data to be rendered.

i18nKeyPrefix?: string
id: string

A unique ID that should be used for rendering the scoped UI schema element.

indexOfFittingSchema: number
label: string

The label for the rendered element.

path: string

Instance path the data is written to, in case of a control.

All available renderers.

required?: boolean

Whether the rendered data is required.

rootSchema: JsonSchema

The root schema as returned by the store.

schema: JsonSchema

The JSON schema that describes the data.

uischema: ControlElement

The UI schema to be rendered.

visible: boolean

Whether the rendered element should be visible.

Methods

  • Update handler that emits a data change

    Parameters

    • path: string

      the path to the data to be updated

    • value: any

      the new value that should be written to the given path

    Returns void