Function ctxToEnumControlProps

  • Parameters

    Returns {
        cells?: {
            cell: any;
            tester: RankedTester;
        }[];
        config?: any;
        data: any;
        description?: string;
        enabled: boolean;
        errors: string;
        i18nKeyPrefix?: string;
        id: string;
        label: string;
        options: EnumOption[];
        path: string;
        renderers?: JsonFormsRendererRegistryEntry[];
        required?: boolean;
        rootSchema: JsonSchema;
        schema: JsonSchema;
        uischema: ControlElement;
        visible: boolean;
    }

    • Optional cells?: {
          cell: any;
          tester: RankedTester;
      }[]
    • Optional config?: any

      Any configuration options for the element.

    • data: any

      The data to be rendered.

    • Optional description?: string

      Description of input cell

    • enabled: boolean

      Whether the rendered element should be enabled.

    • errors: string

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

    • Optional i18nKeyPrefix?: string
    • id: string

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

    • label: string

      The label for the rendered element.

    • options: EnumOption[]
    • path: string

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

    • Optional renderers?: JsonFormsRendererRegistryEntry[]

      All available renderers.

    • Optional required?: boolean

      Whether the rendered data is required.

    • rootSchema: JsonSchema

      The root schema as returned by the store.

    • schema: JsonSchema

      The JSON schema that describes the data.

    • uischema: ControlElement
    • visible: boolean

      Whether the rendered element should be visible.