Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ArrayLayoutProps

Props of an array control.

Hierarchy

Index

Properties

Optional cells

Optional config

config: any

Any configuration options for the element.

data

data: number

Optional description

description: string

Description of input cell

enabled

enabled: boolean

Whether the rendered element should be enabled.

errors

errors: string

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

id

id: string

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

label

label: string | Labels

The label for the rendered element.

Optional minItems

minItems: number

path

path: string

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

Optional renderers

Optional required

required: boolean

Whether the rendered data is required.

rootSchema

rootSchema: JsonSchema

The root schema as returned by the store.

schema

schema: JsonSchema

The JSON schema that describes the data.

uischema

uischema: ControlElement

Optional uischemas

visible

visible: boolean

Whether the rendered element should be visible.

Methods

addItem

  • addItem(path: string, value: any): function
  • Parameters

    • path: string
    • value: any

    Returns function

      • (): void
      • Returns void

Optional moveDown

  • moveDown(path: string, toMove: number): function
  • Parameters

    • path: string
    • toMove: number

    Returns function

      • (): void
      • Returns void

Optional moveUp

  • moveUp(path: string, toMove: number): function
  • Parameters

    • path: string
    • toMove: number

    Returns function

      • (): void
      • Returns void

Optional removeItems

  • removeItems(path: string, toDelete: number[]): function

Generated using TypeDoc