@htmlbricks/hb-form 0.66.27 → 0.67.0

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 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