Function useJsonFormsControl

  • Provides generic bindings for 'Control' elements. Should be used when no specialized bindings are appropriate.

    Access bindings via the provided reactive control object. Dispatch changes via the provided handleChange method.

    Parameters

    Returns {
        control: ComputedRef<{
            cells: JsonFormsCellRendererRegistryEntry[] & {
                cell: any;
                tester: RankedTester;
            }[];
            config: any;
            data: any;
            description: string;
            enabled: boolean;
            errors: string;
            i18nKeyPrefix: string;
            id: string;
            label: string;
            path: string;
            renderers: JsonFormsRendererRegistryEntry[];
            required: NonNullable<undefined | boolean>;
            rootSchema: NonNullable<JsonSchema>;
            schema: NonNullable<JsonSchema>;
            uischema: ControlElement;
            visible: boolean;
        }>;
    } & DispatchPropsOfControl