From 6268e39275949710ce490fc465e5c4a871551584 Mon Sep 17 00:00:00 2001 From: Joel Hawksley Date: Mon, 17 Mar 2025 14:28:21 -0600 Subject: [PATCH] auto-check-element only validates on blur --- custom-elements.json | 8 -------- examples/index.html | 13 ------------- src/auto-check-element.ts | 21 ++++----------------- test/auto-check.js | 37 ++++++++++++++++++++++--------------- 4 files changed, 26 insertions(+), 53 deletions(-) diff --git a/custom-elements.json b/custom-elements.json index fed53b6..91e3c81 100644 --- a/custom-elements.json +++ b/custom-elements.json @@ -214,14 +214,6 @@ "type": { "text": "boolean" } - }, - { - "kind": "field", - "name": "onlyValidateOnBlur", - "type": { - "text": "boolean" - }, - "readonly": true } ], "attributes": [ diff --git a/examples/index.html b/examples/index.html index 2986fe8..60ba5fe 100644 --- a/examples/index.html +++ b/examples/index.html @@ -37,19 +37,6 @@

only-validate-on-blur with custom validity messages

- -
-

All fields marked with * are required

- - - - -

-
- -