jupiter-dynamic-forms 1.15.2 → 1.15.3
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/core/dynamic-form.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8554,6 +8554,12 @@ let JupiterDynamicForm = class extends LitElement {
|
|
|
8554
8554
|
}
|
|
8555
8555
|
console.log(`✅ [Submit] No validation errors, proceeding with submission...`);
|
|
8556
8556
|
this._validateForm();
|
|
8557
|
+
if (!this._valid) {
|
|
8558
|
+
console.log("❌ [Submit] Cannot submit - form validation errors present:", this._errors);
|
|
8559
|
+
this._showErrorPopup = true;
|
|
8560
|
+
this.requestUpdate();
|
|
8561
|
+
return;
|
|
8562
|
+
}
|
|
8557
8563
|
const submissionData = this._generateSubmissionData();
|
|
8558
8564
|
console.log("📊 Form Submission Data:", JSON.stringify(submissionData, null, 2));
|
|
8559
8565
|
console.log("📊 Submission Data Summary:");
|