wave-ui 3.26.1 → 3.27.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.
@@ -24,7 +24,8 @@ export interface WaveFormProps {
24
24
  */
25
25
  noKeyupValidation?: boolean;
26
26
  /**
27
- * Prevents the form element validation on blur (happening by default).
27
+ * Prevents validation on blur for all fields (blur validation is on by default).
28
+ * A field can override with its own `no-blur-validation` prop (`true` / `false` / unset to inherit).
28
29
  * @property {boolean} noBlurValidation
29
30
  * @see https://antoniandre.github.io/wave-ui/w-form
30
31
  */
@@ -31,6 +31,12 @@ export interface WaveFormElementProps {
31
31
  * @see https://antoniandre.github.io/wave-ui/w-form-element
32
32
  */
33
33
  validators?: Array<any>;
34
+ /**
35
+ * Per-element blur validation: `true` skips blur, `false` forces blur even when `w-form` sets `no-blur-validation`, unset inherits the form.
36
+ * @property {boolean} noBlurValidation
37
+ * @see https://antoniandre.github.io/wave-ui/w-form-element
38
+ */
39
+ noBlurValidation?: boolean;
34
40
  /**
35
41
  * TODO: Add Description
36
42
  * @property {any} isFocused - Default: false