Commerce · Components
PartyContactFields
Props for the provider-free repeatable contact composition.Public export
typescript
import { PartyContactFields } from '@happyvertical/smrt-commerce/svelte';- Import path
@happyvertical/smrt-commerce/svelte- Props
- 10
- Props described
- 10 of 10
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.57.40
Props
NameTypeRequiredDescription
contactsPartyContactData[]NoContact rows to display or submit in their given order.fieldNamesPartial<PartyFieldNames>NoHTML field-name overrides used to preserve a caller's payload contract.errorsArray<Record<string, string | undefined> | undefined>NoRow-level validation errors returned by the server.labelsPartyContactLabelsNoUser-facing copy overrides for contact terminology.readOnlybooleanNoRenders contact values without editable controls or mutation actions.canAddbooleanNoShows the native add-row submitter when editing.canRemovebooleanNoShows a native remove-row submitter for each contact when editing.intentNamestringNoName of the native submitter field used for row actions.addIntentstringNoSubmitter value that asks the caller to append a row.removeIntent(index: number) => stringNoProduces the submitter value that asks the caller to remove one row.Bindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.