# RegisterForm
# Props
Name | Type | Description | Default |
---|---|---|---|
guest | Boolean | false |
# Data
Name | Type | Description | Initial value |
---|---|---|---|
processingRegister | boolean | false | |
streetIncludesHouseNo | BinaryExpression | process.env.STREETINFO_INCLUDES_HOUSENO === 'true' | |
alternativeShippingAddress | BinaryExpression | process.env.ALTERNATIVE_SHIPPING_ADDRESS === 'true' | |
differentShippingAddress | boolean | false | |
privacyPolicy | boolean | false | |
passwordRepeat | string | "" | |
form | NewExpression | new Form({ baseData: { id: '', name: '', birthday: '', phone: '', email: '', password: '', }, addresses: [ { id: 0, is_billing: true, is_billing_default: true, is_shipping: true, is_shipping_default: true, payload: { gender: '', firstName: '', lastName: '', street: '', houseNo: '', postal: '', city: '', country: '', company: '', }, }, { id: 0, is_billing: false, is_billing_default: false, is_shipping: true, is_shipping_default: true, payload: { gender: '', firstName: '', lastName: '', street: '', houseNo: '', postal: '', city: '', country: '', company: '', }, }, ], }) | |
errors | array | [] |
# Methods
# submitRegisterForm()
Syntax
submitRegisterForm(): void
1
# submitRegisterGuestForm()
Syntax
submitRegisterGuestForm(): void
1
# setShippingAsBilling()
Syntax
setShippingAsBilling(): void
1
# redirectToCheckout()
Syntax
redirectToCheckout(): void
1
# onPaste()
Syntax
onPaste(e: unknow): void
1