Hierarchy (View Summary)

Implements

Constructors

  • Parameters

    • model: OmitNodeName<
          {
              content: | {
                  component?: "default"
                  | "textarea";
                  default?: string;
                  description?: string;
                  hideLabel?: boolean;
                  key: string;
                  label?: string;
                  nodeName: FormNodeNameEnum;
                  optional?: boolean;
                  placeholder?: string;
                  type?:
                      | "number"
                      | "search"
                      | "text"
                      | "date"
                      | "url"
                      | "color"
                      | "datetime-local"
                      | "month"
                      | "password"
                      | "week"
                      | "time";
              }
              | {
                  default?: number;
                  description?: string;
                  hideLabel?: boolean;
                  key: string;
                  label?: string;
                  nodeName: FormNodeNameEnum;
                  optional?: boolean;
                  placeholder?: string;
              }
              | {
                  default?: string;
                  description?: string;
                  hideLabel?: boolean;
                  key: string;
                  label?: string;
                  nodeName: FormNodeNameEnum;
                  optional?: boolean;
                  options: string[];
                  placeholder?: string;
              }
              | {
                  component?: "checkbox"
                  | "switch";
                  default?: any;
                  description?: string;
                  hideLabel?: boolean;
                  key: string;
                  label?: string;
                  nodeName: FormNodeNameEnum;
                  optional?: boolean;
                  placeholder?: string;
              }
              | {
                  default?: string;
                  description?: string;
                  hideLabel?: boolean;
                  key: string;
                  label?: string;
                  nodeName: FormNodeNameEnum;
                  optional?: boolean;
                  placeholder?: string;
              };
              default?: any;
              description?: string;
              hideLabel?: boolean;
              key: string;
              label?: string;
              nodeName: FormNodeNameEnum;
              optional?: boolean;
              placeholder?: string;
          } & { content: Form.AllFormFields },
      >

    Returns Form.ArrayField

Properties

default?: any
description?: string
hideLabel?: boolean
key: string
label?: string
nodeName: EnumValues<typeof FormNodeNameEnum> = FormNodeNameEnum.Array
optional?: boolean
placeholder?: string

Methods

  • Returns {
        content:
            | {
                component?: "default"
                | "textarea";
                default?: string;
                description?: string;
                hideLabel?: boolean;
                key: string;
                label?: string;
                nodeName: FormNodeNameEnum;
                optional?: boolean;
                placeholder?: string;
                type?:
                    | "number"
                    | "search"
                    | "text"
                    | "date"
                    | "url"
                    | "color"
                    | "datetime-local"
                    | "month"
                    | "password"
                    | "week"
                    | "time";
            }
            | {
                default?: number;
                description?: string;
                hideLabel?: boolean;
                key: string;
                label?: string;
                nodeName: FormNodeNameEnum;
                optional?: boolean;
                placeholder?: string;
            }
            | {
                default?: string;
                description?: string;
                hideLabel?: boolean;
                key: string;
                label?: string;
                nodeName: FormNodeNameEnum;
                optional?: boolean;
                options: string[];
                placeholder?: string;
            }
            | {
                component?: "checkbox"
                | "switch";
                default?: any;
                description?: string;
                hideLabel?: boolean;
                key: string;
                label?: string;
                nodeName: FormNodeNameEnum;
                optional?: boolean;
                placeholder?: string;
            }
            | {
                default?: string;
                description?: string;
                hideLabel?: boolean;
                key: string;
                label?: string;
                nodeName: FormNodeNameEnum;
                optional?: boolean;
                placeholder?: string;
            };
        default?: any;
        description?: string;
        hideLabel?: boolean;
        key: string;
        label?: string;
        nodeName: FormNodeNameEnum;
        optional?: boolean;
        placeholder?: string;
    }