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;
            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>;
            translations: ArrayTranslations;
            uischema: ControlElement;
            uischemas: JsonFormsUISchemaRegistryEntry[];
            visible: boolean;
        }>;
    }

    • layout: ComputedRef<{
          cells: JsonFormsCellRendererRegistryEntry[];
          config: any;
          data: number;
          description: string;
          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>;
          translations: ArrayTranslations;
          uischema: ControlElement;
          uischemas: JsonFormsUISchemaRegistryEntry[];
          visible: boolean;
      }>

Generated using TypeDoc