@salesforcedevs/dw-components 1.3.188 → 1.3.189
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dw-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.189",
|
|
4
4
|
"description": "Lightning web components for https://developer.salesforce.com",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"@types/setimmediate": "^1.0.2",
|
|
25
25
|
"setimmediate": "^1.0.5"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "cba7951dff1e20cb8f20242e8a6e4f54d609cd55"
|
|
28
28
|
}
|
|
@@ -245,6 +245,12 @@ export default class J2sCardSequence extends LightningElement {
|
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
handleStepSequenceChange({ detail }: CustomEvent) {
|
|
248
|
+
if (detail.stepIndex === 1 && this.currentSequenceStep === 2) {
|
|
249
|
+
// User is going back after submitting the form; ensure that `selectedCountry` is reset, since this impacts form behavior
|
|
250
|
+
this.selectedCountry =
|
|
251
|
+
this.formIncomingUserInfo.MailingCountry || "";
|
|
252
|
+
}
|
|
253
|
+
|
|
248
254
|
this.currentSequenceStep = detail.stepIndex;
|
|
249
255
|
this.resetCustomButtonColors();
|
|
250
256
|
|
|
@@ -314,8 +320,6 @@ export default class J2sCardSequence extends LightningElement {
|
|
|
314
320
|
this.jumpToStepIndex(2, false);
|
|
315
321
|
this.initialStepIndex = 0; // don't save final step in storage; rather, reset the starting step
|
|
316
322
|
this.resetRecaptcha();
|
|
317
|
-
this.selectedCountry =
|
|
318
|
-
this.formIncomingUserInfo.MailingCountry || ""; // reset selected country after form submission since this impact's form behavior
|
|
319
323
|
this.hasAlreadyRegistered = true;
|
|
320
324
|
} else {
|
|
321
325
|
throw new Error(
|