hideActionFormButtons | boolean | No | Controls the visibility of action buttons at the form's bottom. Useful for custom integrations where form submission is managed externally. |
formName | string | No | Sets the "name" attribute for the form. Defaults to "addressesForm" if not provided. Useful for custom integrations. |
showFormLoader | boolean | No | Determines if a shimmer loader displays instead of the form. Can be used to manage the form’s loading state externally. |
showSaveCheckBox | boolean | No | Controls visibility of the "Save in address book" checkbox. Useful for implementations where customers can choose to save the address, with form submission managed externally. Enabling this checkbox hides the action buttons automatically (equivalent to setting "hideActionFormButtons" to "true".) |
saveCheckBoxValue | boolean | No | Sets the initial value of the "Save in address book" checkbox. |
forwardFormRef | HTMLInputElement | No | Provides a reference to the form’s DOM element. Useful for custom integrations. This ref also grants access to the "handleValidationSubmit" method to validate form data. |
addressFormId | string | No | Passes an address ID when editing an existing address. Used to identify the address to update in Adobe Commerce. |
className | string | No | Allows custom CSS classes to be applied to the form. |
addressesFormTitle | string | No | Controls visibility of the address form title. |
inputsDefaultValueSet | CustomerAddressesModel | No | Allows a set of default values for form inputs. |
shippingCheckBoxValue | boolean | No | Sets the initial value of the "Set as default shipping address" checkbox. |
billingCheckBoxValue | boolean | No | Sets the initial value of the "Set as default billing address" checkbox. |
showShippingCheckBox | boolean | No | Controls visibility of the "Set as default shipping address" checkbox. The checkbox remains in the form even if hidden, allowing shippingCheckBoxValue to set its value. |
showBillingCheckBox | boolean | No | Controls visibility of the "Set as default billing address" checkbox. As with the shipping checkbox, it remains present even if hidden. |
isOpen | boolean | No | Controls the form's visibility. |
onSubmit | function | No | Allows a custom submit handler to override the default form submission behavior. |
slots.AddressFormActions | AddressFormActionsContext | No | Provides an option to override the call-to-action buttons for the address form. |
slots.AddressFormInputs | AddressFormInputsContext | No | Allows additional custom inputs or HTML elements at the form’s bottom. |
slots[`AddressFormInput_${attribute.code}`] | slot | No | Allows overriding input used for a particular form field. Example slot names: “AddressFormInput_firstname”, “AddressFormInput_street”. |
onCloseBtnClick | function | No | Provides an option to pass a callback to close the form, useful for custom implementations where the form appears in a modal and should close upon successful submission. |
onSuccess | function | No | Callback executed upon successful form submission. |
onError | function | No | Callback executed if an error occurs during submission. Receives the error as a parameter. |
onChange | function | No | Callback executed on each form change, receiving form data as a parameter. Useful for custom integrations. |