Fixxed bugs with CSS Error
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user