summit-registration-lite 6.0.0-beta.3 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4304,6 +4304,9 @@ const RegistrationLite = _ref => {
|
|
|
4304
4304
|
applyPromoCode: applyPromoCode,
|
|
4305
4305
|
removePromoCode: () => {
|
|
4306
4306
|
setFormErrors({});
|
|
4307
|
+
setFormValues(registration_lite_objectSpread(registration_lite_objectSpread({}, formValues), {}, {
|
|
4308
|
+
promoCode: ""
|
|
4309
|
+
}));
|
|
4307
4310
|
removePromoCode();
|
|
4308
4311
|
},
|
|
4309
4312
|
promoCode: promoCode,
|
|
@@ -4428,7 +4431,7 @@ RegistrationLite.defaultProps = {
|
|
|
4428
4431
|
noAllowedTicketsMessage: '<span>You already have purchased all available tickets for this event and/or there are no tickets available for you to purchase.</span><br/><span><a href="/a/my-tickets">Visit the my orders / my tickets page</a> to review your existing tickets.</span>',
|
|
4429
4432
|
ticketTaxesErrorMessage: '<span>There was an error getting the information for the tickets. Please try it again.</span>',
|
|
4430
4433
|
allowPromoCodes: true,
|
|
4431
|
-
companyDDLPlaceholder: '
|
|
4434
|
+
companyDDLPlaceholder: 'Type to select company',
|
|
4432
4435
|
authErrorCallback: error => {
|
|
4433
4436
|
console.log(error);
|
|
4434
4437
|
},
|