Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / CheckoutFormCustomField

Interface: CheckoutFormCustomField

Properties

id

id: string

Server-minted. Answers are keyed by it, so it outlives label edits.


label

label: string

Merchant-authored text. Render as a text node — never as markup.


options?

optional options?: string[]

select only.


required

required: boolean


type

type: "number" | "text" | "textarea" | "select"