Fixxed bugs with CSS Error

This commit is contained in:
2025-08-16 12:42:50 +05:30
parent 5896bf5d54
commit 403d90acd6
+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");