@dilicorp/ui 0.2.47 → 0.2.48

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.
@@ -62,7 +62,10 @@ export default function Input(props) {
62
62
  type: type === 'number' ? 'text' : type,
63
63
  tabIndex,
64
64
  autoComplete: 'none',
65
- onChange: handleChange
65
+ onChange: handleChange,
66
+ ...(elements.onBlurInput
67
+ ? { onBlur: elements.onBlurInput }
68
+ : {})
66
69
  };
67
70
  const attrs = {
68
71
  ...attrsInput,
@@ -26,6 +26,7 @@ export interface FormBuilderBasicsItem extends InputHTMLAttributes<HTMLInputElem
26
26
  validations?: FormBuilderValidationProps[];
27
27
  validationType?: string;
28
28
  onChange?: any;
29
+ onBlurInput?: any;
29
30
  onBlur?: any;
30
31
  type?: string;
31
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dilicorp/ui",
3
- "version": "0.2.47",
3
+ "version": "0.2.48",
4
4
  "description": "A simple UI design for Dilicorp",
5
5
  "repository": {
6
6
  "type": "git",