@checkout-kit/ui / AddressFieldsProps
Interface: AddressFieldsProps
Properties
| Property | Type | Description |
|---|---|---|
autoCompleteSection? | "billing" | "shipping" | shipping switches the autofill section, so the two addresses fill separately. |
className? | string | - |
countries | readonly SelectOption[] | From you: the kit ships no country list, and yours is shorter than the world's. |
disabled? | boolean | - |
errors? | Partial<Record<keyof AddressValue, ReactNode>> | - |
fields? | readonly keyof AddressValue[] | Drop the ones your provider does not ask for. |
labels? | Partial<AddressLabels> | - |
onChange | (value) => void | - |
value | AddressValue | - |