Commerce · Components
PurchaseOrderHeaderForm
Native header-only form; it never changes source allocations or writes a record.Public export
typescript
import { PurchaseOrderHeaderForm } from '@happyvertical/smrt-commerce/svelte';- Import path
@happyvertical/smrt-commerce/svelte- Props
- 13
- Props described
- 13 of 13
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.57.40
Props
NameTypeRequiredDescription
actionstringYesCaller-owned native POST endpoint.valuesPurchaseOrderHeaderValuesNoHeader values supplied or retained by the caller.vendorsreadonly { value: string; label: string; disabled?: boolean; }[]YesAuthorized vendor choices; the server must revalidate eligibility.namesPartial<Record<keyof PurchaseOrderHeaderValues, string>>NoField-name overrides for an existing endpoint.errorsPartial<Record<keyof PurchaseOrderHeaderValues, string>>NoCanonical field errors returned by the server.messagestringNoForm-level server error or uncertain-outcome message.hiddenFieldsreadonly { name: string; value: string; }[]NoCaller-owned identity, authorization and retry fields.readonlybooleanNoPresentation only; server authorization remains mandatory.busybooleanNoDisable the form while transport is in progress.intent{ name: string; value: string; }NoNative submitter identity.labels{ title?: string; submit?: string; }NoLocalized title and submit label overrides.formAttributesQuoteFormAttributesNoNative encoding/ID and caller-owned Svelte attachments.onsubmitHTMLFormAttributes['onsubmit']NoOptional transport enhancement; preventDefault belongs to the caller.Bindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.