Function useJsonFormsArrayLayout

  • Provides bindings for 'Control' elements which resolve to 'array' elements which shall be rendered as a layout instead of a control.

    Access bindings via the provided reactive 'layout' object.

    Parameters

    Returns {
        layout: ComputedRef<{
            cells: JsonFormsCellRendererRegistryEntry[];
            config: any;
            data: number;
            description: string;
            disableAdd: NonNullable<undefined | boolean>;
            disableRemove: NonNullable<undefined | boolean>;
            enabled: boolean;
            errors: string;
            i18nKeyPrefix: string;
            id: string;
            label: string;
            minItems: number;
            path: string;
            renderers: JsonFormsRendererRegistryEntry[];
            required: NonNullable<undefined | boolean>;
            rootSchema: NonNullable<JsonSchema>;
            schema: NonNullable<JsonSchema>;
            uischema: ControlElement;
            uischemas: JsonFormsUISchemaRegistryEntry[];
            visible: boolean;
        }>;
    }

    • layout: ComputedRef<{
          cells: JsonFormsCellRendererRegistryEntry[];
          config: any;
          data: number;
          description: string;
          disableAdd: NonNullable<undefined | boolean>;
          disableRemove: NonNullable<undefined | boolean>;
          enabled: boolean;
          errors: string;
          i18nKeyPrefix: string;
          id: string;
          label: string;
          minItems: number;
          path: string;
          renderers: JsonFormsRendererRegistryEntry[];
          required: NonNullable<undefined | boolean>;
          rootSchema: NonNullable<JsonSchema>;
          schema: NonNullable<JsonSchema>;
          uischema: ControlElement;
          uischemas: JsonFormsUISchemaRegistryEntry[];
          visible: boolean;
      }>