Function useJsonFormsAnyOfControl
- useJsonFormsAnyOfControl(props): {
control: ComputedRef<{
cells: JsonFormsCellRendererRegistryEntry[] & {
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: NonNullable<undefined | boolean>;
rootSchema: NonNullable<JsonSchema>;
schema: NonNullable<JsonSchema>;
uischema: ControlElement;
uischemas: JsonFormsUISchemaRegistryEntry[];
visible: boolean;
}>;
} & DispatchPropsOfControl Returns {
control: ComputedRef<{
cells: JsonFormsCellRendererRegistryEntry[] & {
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: NonNullable<undefined | boolean>;
rootSchema: NonNullable<JsonSchema>;
schema: NonNullable<JsonSchema>;
uischema: ControlElement;
uischemas: JsonFormsUISchemaRegistryEntry[];
visible: boolean;
}>;
} & DispatchPropsOfControl
Provides bindings for 'Control' elements which resolve to 'anyOf' schema elements.
Access bindings via the provided reactive
control
object. Dispatch changes via the providedhandleChange
method.