Fixxed bugs Form Validation
This commit is contained in:
@@ -83,7 +83,7 @@ const formId = `f-${Math.random().toString(36).slice(2)}`;
|
||||
</form>
|
||||
|
||||
<!-- Client validation & submit hook (no zod import here) -->
|
||||
<script type="module" is:inline define:vars={{ formId, showSuccesInput }}>
|
||||
<script is:inline define:vars={{ formId, showSuccesInput }}>
|
||||
const start = () => {
|
||||
const INVALID_KLS = ["!border-danger", "focus-visible:ring-danger/40"];
|
||||
const VALID_KLS = ["!border-success", "focus-visible:ring-success/40"];
|
||||
|
||||
Reference in New Issue
Block a user