@bbl-digital/snorre 2.3.19 → 2.3.20

Sign up to get free protection for your applications and to get access to all the features.
package/dist/bundle.js CHANGED
@@ -984,7 +984,7 @@
984
984
  setValueChanged(e.target.value);
985
985
  }
986
986
 
987
- if (props.onChange) {
987
+ if (props.onChange && !props.disabled) {
988
988
  props.onChange(e);
989
989
  }
990
990
  };
@@ -38,7 +38,7 @@ const Input = /*#__PURE__*/React.forwardRef(({
38
38
  setValueChanged(e.target.value);
39
39
  }
40
40
 
41
- if (props.onChange) {
41
+ if (props.onChange && !props.disabled) {
42
42
  props.onChange(e);
43
43
  }
44
44
  };
@@ -38,7 +38,7 @@ const Input = /*#__PURE__*/React.forwardRef(({
38
38
  setValueChanged(e.target.value);
39
39
  }
40
40
 
41
- if (props.onChange) {
41
+ if (props.onChange && !props.disabled) {
42
42
  props.onChange(e);
43
43
  }
44
44
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "2.3.19",
3
+ "version": "2.3.20",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",