Interface FormCustomFieldLabelOptions<TLabelType>

Text options for labels

interface FormCustomFieldLabelOptions<TLabelType> {
    colSpan?: 1 | 2;
    labelWeight?: "bold" | "regular";
    placeholder?: TLabelType;
    postFixText?: TLabelType;
}

Type Parameters

  • TLabelType

Properties

colSpan?: 1 | 2

When specified, will cause the custom field to span multiple columns in the form (1 or 2 columns). By default, custom fields will span 1 column, but for 2 column mode you can set this to 2 to get full-width fields.

labelWeight?: "bold" | "regular"

Weight of a label for the custom field

placeholder?: TLabelType

Placeholder text to place inside the field

postFixText?: TLabelType

Postfix text to place after the input

Generated using TypeDoc