Type alias RepeatableSetElement

RepeatableSetElement: FormElementBase & {
    addSetEntryLabel?: string;
    layout?: "SINGLE_ADD_BUTTON" | "MULTIPLE_ADD_BUTTONS";
    maxSetEntries?: number | {
        elementId: string;
        type: "FORM_ELEMENT";
    };
    minSetEntries?: number | {
        elementId: string;
        type: "FORM_ELEMENT";
    };
    removeSetEntryLabel?: string;
    type: "repeatableSet";
} & _NestedElementsElement & FormElementReadOnly

Type declaration

  • Optional addSetEntryLabel?: string
  • Optional layout?: "SINGLE_ADD_BUTTON" | "MULTIPLE_ADD_BUTTONS"

    Select how the repeatable set buttons render. SINGLE_ADD_BUTTON will include a single button at the end of the repeatable set to add a new entry. MULTIPLE_ADD_BUTTONS will show an add button between each entry and move the delete button to the bottom of each entry

  • Optional maxSetEntries?: number | {
        elementId: string;
        type: "FORM_ELEMENT";
    }
  • Optional minSetEntries?: number | {
        elementId: string;
        type: "FORM_ELEMENT";
    }
  • Optional removeSetEntryLabel?: string
  • type: "repeatableSet"