@htmlbricks/hb-form 0.66.27 → 0.67.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/main.iife.js +346 -71
- package/main.iife.js.map +1 -1
- package/manifest.json +137 -2
- package/package.json +1 -1
- package/types/webcomponent.type.d.ts +2 -0
- package/types/webcomponent_events.type.d.json +8 -0
package/README.md
CHANGED
|
@@ -25,6 +25,7 @@ JSON `schema`-driven form engine: each entry’s `type` maps to an `hb-input-*`
|
|
|
25
25
|
### Events
|
|
26
26
|
|
|
27
27
|
- `submit` — submitted values as `Record<string, …>` plus `_valid`, `_id`
|
|
28
|
+
- `submitinvalid` — fired when a submit is attempted (including `submitted="yes"`) but the form fails validation; `show_validation` is turned on so errors are visible
|
|
28
29
|
- `getValues` — `{ _valid: boolean; values: Record<string, …> }`
|
|
29
30
|
- `update` — `{ _valid: boolean; _id: string; values: Record<string, …> }`
|
|
30
31
|
|