Fix New issue in Library

This commit is contained in:
2025-08-16 11:04:20 +05:30
parent 53ed95436a
commit ff6c4d4301
2 changed files with 16 additions and 2 deletions
+2 -2
View File
@@ -84,8 +84,8 @@ const formId = `f-${Math.random().toString(36).slice(2)}`;
<!-- Client validation & submit hook (no zod import here) -->
<script type="module" define:vars={{ formId, showSuccesInput }}>
const INVALID_KLS = ["!border-danger", "focus-visible:ring-danger/40"];
const VALID_KLS = ["!border-success", "focus-visible:ring-success/40"];
const INVALID_KLS = ["border-danger", "focus-visible:ring-danger/40"];
const VALID_KLS = ["border-success", "focus-visible:ring-success/40"];
const form = document.getElementById(formId);
if (!form) throw new Error("Form element not found");